dart:isolate
LogoDart

dart:isolate#

Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages.

NOTE: The dart:isolate library is currently only supported by the Dart Native platform.

To use this library in your code:

import 'dart:isolate';

Classes#

ClassDescription
Capability An unforgeable object that comes back as equal when passed through other isolates.
Isolate An isolated Dart execution context.
RawReceivePort A low-level asynchronous message receiver.
ReceivePort Together with SendPort , the only means of communication between isolates.
SendPort Sends messages to its ReceivePort s.
TransferableTypedData An efficiently transferable sequence of byte values.

Exceptions#

ExceptionDescription
IsolateSpawnException Thrown when an isolate cannot be created.
RemoteError Description of an error from another isolate.