Skip to content

[v0.3] Expand documentation of "result of transmission" futures #198

@lann

Description

@lann

These futures are associated with two (pairs) of functions, and the documentation is currently quite sparse:

{request,response}.new:

/// The returned future resolves to result of transmission of this request.

{request,response}.consume-body:

/// This function takes a `res` future as a parameter, which can be used to
/// communicate an error in handling of the response.

I know I have spent a fair bit of time discussing, forgetting, and trying to remember precisely what these futures are for and how best to plumb them together, and I'm sure I'm not the only one. Let's try to get that information written down in this issue and distilled into a bit more doc commentary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions