invokeFlatAsync method

Future<List<Object?>> invokeFlatAsync(
  1. int canonicalIndex,
  2. List<Object?> args, {
  3. Memory? memory,
  4. WASIComponentCanonicalRealloc? realloc,
})

Invokes a flat Canonical ABI operation by canonical index and waits when supported.

Implementation

Future<List<Object?>> invokeFlatAsync(
  int canonicalIndex,
  List<Object?> args, {
  wasm.Memory? memory,
  WASIComponentCanonicalRealloc? realloc,
}) {
  return _operationAt(
    canonicalIndex,
  ).invokeFlatAsync(args, memory: memory, realloc: realloc);
}