Module linera_base::task
source · Expand description
Abstractions over tasks that can be used natively or on the Web.
Structs§
- A new task running in a different thread.
- The type of errors that can result from sending a message to the spawned task. Error returned by the
Sender
.
Traits§
- Types that can be explicitly sent to a new thread. This differs from
Send
in that we can provide an explicit post step (e.g.postMessage
on the Web).
Functions§
- Spawns a new task, potentially on the current thread.
Type Aliases§
- The type of a future awaiting another thread.
- The stream of inputs available to the spawned task.
- A type that satisfies the send/receive bounds, but can never be sent or received.
- The type of a future awaiting another task.