Isolatengine class abstract

Constructors

Isolatengine(ReceivePort receivePort, [SendPort? sendPort])
receivePort ReceivePort of isolate. sendPort In main isolate, this arg always be null. In new isolate should be correct value.
factory

Properties

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

Methods

deliver(String method, {dynamic param, Duration? timeout, Cancelable? cancelable, Notify? onNotify}) Future
Deliver a message with method to paired isolatengine with reply. method Method witch is registered by paired isolatengine. param Param of this method. /// The content of param could be:
emit(String method, {dynamic param}) → void
Emit a message with method to paired isolatengine with ignoring reply. method Method witch is registered by paired isolatengine. param Param of this method. The content of param could be:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String method, Handle handle) → void
Register handle by method, handle will be called when method be called by paired isolatengine. method Method name of handle. handle Handle for method.
receiveContinuously() Future<void>
Continuously receive message.
toString() String
A string representation of this object.
inherited

Operators

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