From 20b4f382616397bbad8d1d87c172fc60da22f876 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 10 Sep 2025 10:50:57 -0600 Subject: [PATCH] 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 --- design/mvp/CanonicalABI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/design/mvp/CanonicalABI.md b/design/mvp/CanonicalABI.md index c293dab0..1c51bfb0 100644 --- a/design/mvp/CanonicalABI.md +++ b/design/mvp/CanonicalABI.md @@ -3760,11 +3760,11 @@ delivered at a later `cancellable` call. For a canonical definition: ```wat -(canon waitable-set.poll $async? (memory $mem) (core func $f)) +(canon waitable-set.poll $cancellable? (memory $mem) (core func $f)) ``` validation specifies: * `$f` is given type `(func (param $si i32) (param $ptr i32) (result i32))` -* 🚟 - `async` is allowed (otherwise it must be `false`) +* 🚟 - `cancellable` is allowed (otherwise it must be absent) Calling `$f` invokes the following function, which returns `NONE` (`0`) instead of blocking if there is no event available, and otherwise returns the event the