ModuleInstance class abstract interface

Low-level entries are synchronous and never wait for provider work. Each instance belongs to one Dart isolate; every operation stays serialized there.

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasWork → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(int call, int code) → void
destroy() → int
Zero releases the instance; three means producer cleanup is pending.
halfClose(int call) → int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(Method method, Duration? timeout) → int
poll(int budget) → void
receive(int call) → ReadResult
release(int call) → void
send(int call, Uint8List bytes) → int
setWakeup(void wakeup()) → void
Install an instance notification sink before opening calls. The sink only schedules a later turn; foreign callbacks must never re-enter the ABI.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited