Skip to content

Commit

Permalink
Update wording to reflect the separation of task and waitable-set
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewagner committed Jan 25, 2025
1 parent 1517a39 commit d43430d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions design/mvp/Async.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,9 @@ imported `stream.read` or `stream.write` canonical built-ins, resp., passing the
pointer and length of a linear-memory buffer to write-into or read-from, resp.
These built-ins can either return immediately if >0 elements were able to be
written or read immediately (without blocking) or return a sentinel "blocked"
value indicating that the read or write will execute concurrently. The
readable and writable ends of streams and futures each have a well-defined
parent `Task` that will receive "progress" events on all child streams/futures
that have previously blocked.
value indicating that the read or write will execute concurrently. The readable
and writable ends of streams and futures can then be [waited](#waiting) on to
make progress.

The `T` element type of streams and futures is optional, such that `future` and
`stream` can be written in WIT without a trailing `<T>`. In this case, the
Expand Down

0 comments on commit d43430d

Please sign in to comment.