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.
4044
4044
e.copy(task.inst, buffer, on_copy, on_copy_done)
4045
4045
```
4046
4046
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
4051
4051
synchronously and return ` BLOCKED ` if not:
4052
4052
``` python
4053
4053
if not e.has_pending_event():
You can’t perform that action at this time.
0 commit comments