futureWriteFromMemory method

WASIComponentAsyncCopyResult futureWriteFromMemory(
  1. Object? writable,
  2. Memory memory,
  3. int pointer
)

Executes future.write by reading a value from memory.

Implementation

WASIComponentAsyncCopyResult futureWriteFromMemory(
  Object? writable,
  wasm.Memory memory,
  int pointer,
) {
  _requireKind(WasmComponentCanonicalKind.futureWrite);
  return _requireValueType().futureWriteFromMemory(
    writable,
    memory,
    pointer,
    stringEncoding,
  );
}