Lines Matching refs:future

4 ;; future.new
7 (import "" "future.new" (func $future-new (result i64)))
9 (type $future-type (future u8))
10 (core func $future-new (canon future.new $future-type))
11 (core instance $i (instantiate $m (with "" (instance (export "future.new" (func $future-new))))))
14 ;; future.read
19 (import "" "future.read" (func $future-read (param i32 i32) (result i32)))
21 (type $future-type (future u8))
22 (core func $future-read (canon future.read $future-type async (memory $libc "memory")))
23 …(core instance $i (instantiate $m (with "" (instance (export "future.read" (func $future-read))))))
26 ;; future.read; with realloc
34 (import "" "future.read" (func $future-read (param i32 i32) (result i32)))
36 (type $future-type (future string))
37 …(core func $future-read (canon future.read $future-type async (memory $libc "memory") (realloc (fu…
38 …(core instance $i (instantiate $m (with "" (instance (export "future.read" (func $future-read))))))
41 ;; future.write
46 (import "" "future.write" (func $future-write (param i32 i32) (result i32)))
48 (type $future-type (future u8))
49 (core func $future-write (canon future.write $future-type async (memory $libc "memory")))
50 …(core instance $i (instantiate $m (with "" (instance (export "future.write" (func $future-write)))…
53 ;; future.cancel-read
56 (import "" "future.cancel-read" (func $future-cancel-read (param i32) (result i32)))
58 (type $future-type (future u8))
59 (core func $future-cancel-read (canon future.cancel-read $future-type))
60 …(core instance $i (instantiate $m (with "" (instance (export "future.cancel-read" (func $future-ca…
63 ;; future.cancel-write
66 (import "" "future.cancel-write" (func $future-cancel-write (param i32) (result i32)))
68 (type $future-type (future u8))
69 (core func $future-cancel-write (canon future.cancel-write $future-type))
70 …(core instance $i (instantiate $m (with "" (instance (export "future.cancel-write" (func $future-c…
73 ;; future.drop-readable
76 (import "" "future.drop-readable" (func $future-drop-readable (param i32)))
78 (type $future-type (future u8))
79 (core func $future-drop-readable (canon future.drop-readable $future-type))
80 …(core instance $i (instantiate $m (with "" (instance (export "future.drop-readable" (func $future-…
83 ;; future.drop-writable
86 (import "" "future.drop-writable" (func $future-drop-writable (param i32)))
88 (type $future-type (future u8))
89 (core func $future-drop-writable (canon future.drop-writable $future-type))
90 …(core instance $i (instantiate $m (with "" (instance (export "future.drop-writable" (func $future-…