IsolateBundleConfiguration class
Base configuration for creating an isolate bundle.
The IsolateBundleFactory will send this configuration to the isolate when it is spawned. The toCaller is used to send a SendPort back to the caller.
In the entry-point of the isolate the activateOnCurrentIsolate should be called to set up the SendPort and ReceivePort.
Constructors
- IsolateBundleConfiguration(SendPort toCaller)
-
Base configuration for creating an isolate bundle.
const
Properties
Methods
-
activateOnCurrentIsolate<
TFromCaller> (void messageHandler(TFromCaller message), void cancel(CancelMessage cancelMessage)) → void - Activates the current configuration on the current isolate.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited