Lines Matching refs:future

6 ;; synchronous future.read; sync lift
12 (type $future (future))
13 (core func $read (canon future.read $future (memory $libc "memory")))
18 (func (export "run") (param $future i32)
19 (call $read (local.get $future) (i32.const 0))
28 (func (export "run") async (param "x" $future)
34 (type $future (future))
36 (export "run" (func async (param "x" $future)))
39 (core func $new (canon future.new $future))
67 ;; asynchronous future.read; sync lift
73 (type $future (future))
74 (core func $read (canon future.read $future (memory $libc "memory") async))
79 (func (export "run") (param $future i32)
80 (call $read (local.get $future) (i32.const 0))
89 (func (export "run") (param "x" $future)
95 (type $future (future))
97 (export "run" (func (param "x" $future)))
99 (core func $new (canon future.new $future))
127 ;; synchronous future.read; async lift
133 (type $future (future))
134 (core func $read (canon future.read $future (memory $libc "memory")))
139 (func (export "run") (param $future i32) (result i32)
140 (call $read (local.get $future) (i32.const 0))
153 (func (export "run") async (param "x" $future)
159 (type $future (future))
161 (export "run" (func async (param "x" $future)))
163 (core func $new (canon future.new $future))
192 ;; asynchronous future.read; async lift
198 (type $future (future))
199 (core func $read (canon future.read $future (memory $libc "memory") async))
206 (func (export "run") (param $future i32) (result i32)
207 (call $read (local.get $future) (i32.const 0))
222 (func (export "run") (param "x" $future)
228 (type $future (future))
230 (export "run" (func (param "x" $future)))
232 (core func $new (canon future.new $future))