Module result

Source
Expand description

Definition of the Ready (immediately finished) combinator

Structs§

Ready
Future for the ready function.

Functions§

err
Creates a “leaf future” from an immediate value of a failed computation.
ok
Creates a “leaf future” from an immediate value of a finished and successful computation.
ready
Creates a future that is immediately ready with a value.
result
Creates a new “leaf future” which will resolve with the given result.