Skip to content

Commit da53685

Browse files
committed
Update {stream,future}.close-writable descriptions
1 parent 753207a commit da53685

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

design/mvp/CanonicalABI.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3265,13 +3265,19 @@ normal `{STREAM,FUTURE}_{READ,WRITE}` event by the original, now-unblocked
32653265
For canonical definitions:
32663266
```wasm
32673267
(canon stream.close-readable $t (core func $f))
3268-
(canon stream.close-writable $t (core func $f))
32693268
(canon future.close-readable $t (core func $f))
3270-
(canon future.close-writable $t (core func $f))
32713269
```
32723270
validation specifies:
32733271
* `$f` is given type `(func (param i32))`
32743272

3273+
and for canonical definitions:
3274+
```wasm
3275+
(canon stream.close-writable $t (core func $f))
3276+
(canon future.close-writable $t (core func $f))
3277+
```
3278+
validation specifies:
3279+
* `$f` is given type `(func (param i32 i32))`
3280+
32753281
Calling `$f` removes the readable or writable end of the stream or future at
32763282
the given index from the current component instance's `waitable` table,
32773283
performing the guards and bookkeeping defined by

0 commit comments

Comments
 (0)