futureReadHandleWhenReady method

Future<Object?> futureReadHandleWhenReady(
  1. int readable
)

Executes future.read with a readable endpoint handle and waits if pending.

Implementation

Future<Object?> futureReadHandleWhenReady(int readable) {
  _requireKind(WasmComponentCanonicalKind.futureRead);
  return _requireValueType().futureReadHandleWhenReady(readable);
}