Files: dbd5a14bda6861381a1cf73f2996003dc83ce4b1 / tests / wasm / asyncTest.wast
298 bytesRaw
1 | (module |
2 | (import "test" "async" (func $async (param i32))) |
3 | (import "test" "done" (func $done)) |
4 | (table |
5 | (export "callback") |
6 | anyfunc |
7 | (elem |
8 | $callback |
9 | ) |
10 | ) |
11 | (func $callback |
12 | call $done |
13 | ) |
14 | (func $main |
15 | (call $async (i32.const 0)) |
16 | ) |
17 | (export "main" (func $main))) |
18 |
Built with git-ssb-web