Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20b4f38

Browse files
committed
rename async option to cancellable for waitable-set.poll
Looks like this got missed when it was renamed for `waitable-set.wait` and `yield` (and in the prose for `waitable-set.poll` itself). Signed-off-by: Joel Dice <[email protected]>
1 parent d322e64 commit 20b4f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/CanonicalABI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3760,11 +3760,11 @@ delivered at a later `cancellable` call.
37603760

37613761
For a canonical definition:
37623762
```wat
3763-
(canon waitable-set.poll $async? (memory $mem) (core func $f))
3763+
(canon waitable-set.poll $cancellable? (memory $mem) (core func $f))
37643764
```
37653765
validation specifies:
37663766
* `$f` is given type `(func (param $si i32) (param $ptr i32) (result i32))`
3767-
* 🚟 - `async` is allowed (otherwise it must be `false`)
3767+
* 🚟 - `cancellable` is allowed (otherwise it must be absent)
37683768

37693769
Calling `$f` invokes the following function, which returns `NONE` (`0`) instead
37703770
of blocking if there is no event available, and otherwise returns the event the

0 commit comments

Comments
 (0)