Skip to content

Commit 67405f7

Browse files
committed
Editorial: sync definitions.py and CanonicalABI.md
1 parent a67ba66 commit 67405f7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

design/mvp/CanonicalABI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3230,7 +3230,7 @@ specifies:
32303230
Calling `$f` invokes the following function which uses `Task.return_` to lift
32313231
and pass the results to the caller:
32323232
```python
3233-
async def canon_task_return(task, result_type, opts: LiftLowerOptions, flat_args):
3233+
async def canon_task_return(task, result_type, opts: LiftOptions, flat_args):
32343234
trap_if(not task.inst.may_leave)
32353235
trap_if(task.opts.sync and not task.opts.always_task_return)
32363236
trap_if(result_type != task.ft.results)

design/mvp/canonical-abi/definitions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,8 @@ class ReadableStream:
644644
t: ValType
645645
read: Callable[[WritableBuffer, OnPartialCopy, OnCopyDone], Literal['done','blocked']]
646646
cancel: Callable[[], None]
647-
close: Callable[[Optional[ErrorContext]]]
647+
close: Callable[[]]
648648
closed: Callable[[], bool]
649-
closed_with: Callable[[], Optional[ErrorContext]]
650649

651650
class ReadableStreamGuestImpl(ReadableStream):
652651
impl: ComponentInstance

0 commit comments

Comments
 (0)