3.8 Asynchronous and stream types
| Type | Description |
|---|---|
Task<T, E> | a lazy asynchronous computation with a value T or an error E (§8.3) |
stream<T> | an asynchronous sequence, the source for for await (§10.3) |
iter<T> | a synchronous lazy sequence, the source for for (§5.6) |
Broadcast<T> | a local hub that delivers one item to all subscribers (§10.4) |
Chan<T>, Sender<T>, Receiver<T> | a channel between tasks (§8.6) |
ActorRef<A> | a reference to an actor (§12.5) |
See also
Source: docs/spec/oxl-standard.en.md