tests/snapshots/cli/component-model-async/task-builtins.wast/12.print
raw| 1 | (component |
| 2 | (core module $m (;0;) |
| 3 | (type (;0;) (func)) |
| 4 | (import "" "task.cancel" (func $task-cancel (;0;) (type 0))) |
| 5 | ) |
| 6 | (core func $task-cancel (;0;) (canon task.cancel)) |
| 7 | (core instance (;0;) |
| 8 | (export "task.cancel" (func $task-cancel)) |
| 9 | ) |
| 10 | (core instance $i (;1;) (instantiate $m |
| 11 | (with "" (instance 0)) |
| 12 | ) |
| 13 | ) |
| 14 | ) |