File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1495,9 +1495,10 @@ of a stream or future that has an outstanding "`BLOCKED`" read or write. If
1495
1495
cancellation finished eagerly, the return value is the number of elements read
1496
1496
or written into the given buffer (` 0 ` or ` 1 ` for a ` future ` ). If cancellation
1497
1497
blocks, the return value is the sentinel "` BLOCKED ` " value and the caller must
1498
- ` task.wait ` for a ` {STREAM,FUTURE}_{READ,WRITE} ` event to indicate the
1499
- completion of the ` read ` or ` write ` . (See [ ` canon_stream_cancel_read ` ] in the
1500
- Canonical ABI explainer for details.)
1498
+ ` task.wait ` (or, if using ` callback ` , return to the event loop) to receive a
1499
+ ` {STREAM,FUTURE}_{READ,WRITE} ` event to indicate the completion of the ` read `
1500
+ or ` write ` . (See [ ` canon_stream_cancel_read ` ] in the Canonical ABI explainer
1501
+ for details.)
1501
1502
1502
1503
The ` waitable.drop ` built-in has type ` [i32] -> [] ` and removes the indicated
1503
1504
[ subtask] ( Async.md#subtask-and-supertask ) or [ stream or future] ( Async.md#streams-and-futures )
You can’t perform that action at this time.
0 commit comments