terminateCapability property

Capability? terminateCapability
final

Capability granting the ability to terminate the isolate.

This capability is required by kill and setErrorsFatal. If the capability is null, or if it is not the correct termination capability of the isolate identified by controlPort, then calls to those methods will have no effect.

Implementation

final Capability? terminateCapability;

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