| Copyright | (c) 2026 Tushar Adhatrao |
|---|---|
| License | MIT |
| Stability | stable |
| Safe Haskell | None |
| Language | GHC2021 |
WasmEdge.Async
Description
Documentation
An opaque handle to an asynchronous WASM execution.
waitFor :: Async -> Word64 -> IO Bool #
Wait up to timeout milliseconds. Returns True if the result is ready.
getReturnsLength :: Async -> IO Word32 #
Get the number of return values.
getReturns :: Async -> IO (WasmResult [WasmVal]) #
Wait for the result and retrieve the return values.