invokeWithMemoryEvent method
Object?
invokeWithMemoryEvent(
- Memory memory,
- List<
Object?> args, { - int? resultPointer,
- WASIComponentCanonicalRealloc? realloc,
Starts this canonical operation's waitable event path with memory.
Implementation
Object? invokeWithMemoryEvent(
wasm.Memory memory,
List<Object?> args, {
int? resultPointer,
WASIComponentCanonicalRealloc? realloc,
}) {
final invokeWithMemoryEvent = _invokeWithMemoryEvent;
if (invokeWithMemoryEvent != null) {
return invokeWithMemoryEvent(memory, args, realloc, resultPointer);
}
return invokeWithMemory(
memory,
args,
resultPointer: resultPointer,
realloc: realloc,
);
}