futureReadHandleToMemoryWhenReady method
Future<WASIComponentAsyncCopyResult>
futureReadHandleToMemoryWhenReady(
- int readable,
- Memory memory,
- int pointer, [
- WASIComponentCanonicalRealloc? realloc,
Executes handle-backed future.read into memory when ready.
Implementation
Future<WASIComponentAsyncCopyResult> futureReadHandleToMemoryWhenReady(
int readable,
wasm.Memory memory,
int pointer, [
WASIComponentCanonicalRealloc? realloc,
]) {
_requireKind(WasmComponentCanonicalKind.futureRead);
return _requireValueType().futureReadHandleToMemoryWhenReady(
readable,
memory,
pointer,
stringEncoding,
realloc,
);
}