W3cubDocs

/Dart 2

controlPort property

SendPort controlPort
final

Control port used to send control messages to the isolate.

The control port identifies the isolate.

An Isolate object allows sending control messages through the control port.

Some control messages require a specific capability to be passed along with the message (see pauseCapability and terminateCapability), otherwise the message is ignored by the isolate.

Implementation

final SendPort controlPort

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-isolate/Isolate/controlPort.html