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