IsolateSupervisor class final

Constructors

IsolateSupervisor(MultiIsolateServer multiIsolateServer, Isolate isolate, ReceivePort receivePort)

Properties

hashCode int
The hash code for this object.
no setterinherited
isolate Isolate
final
launchCompleter Completer<void>?
getter/setter pair
multiIsolateServer MultiIsolateServer
final
pendingMessageQueue List<MessageHubMessage>
final
receivePort ReceivePort
final
reloadCompleter Completer<void>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverSendPort SendPort
getter/setter pair
stopCompleter Completer<void>?
getter/setter pair

Methods

listener(Object? response) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reload() Future<void>
resume() Future<void>
sendMessageToOtherSupervisors(MessageHubMessage message) → void
sendPendingMessages() → void
stop({bool force = false}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

spawn(MultiIsolateServer multiIsolateServer, FutureOr<void> spawn(SendPort?), int identifier) Future<IsolateSupervisor>