File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4044,10 +4044,10 @@ until this point into a single `i32` payload for core wasm.
40444044 e.copy(task.inst, buffer, on_copy, on_copy_done)
40454045```
40464046
4047- When this ` copy ` makes progress, a ` stream_event ` is set on the stream end
4048- ` Waitble ` . If ` stream.{read,write} ` is called synchronously, the call suspends
4049- the current thread until an event is set, so that the event can be returned.
4050- Otherwise, asynchronous calls deliver the event if it was produced
4047+ When this ` copy ` makes progress, a ` stream_event ` is set on the stream end's
4048+ ` Waitable ` base object . If ` stream.{read,write} ` is called synchronously, the
4049+ call suspends the current thread until an event is set, so that the event can
4050+ be returned. Otherwise, asynchronous calls deliver the event if it was produced
40514051synchronously and return ` BLOCKED ` if not:
40524052``` python
40534053 if not e.has_pending_event():
You can’t perform that action at this time.
0 commit comments