dart:isolate library
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
- 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 ReceivePorts.
- TransferableTypedData
- An efficiently transferable sequence of byte values.
Exceptions / Errors
- IsolateSpawnException
- Thrown when an isolate cannot be created.
- RemoteError
- Description of an error from another isolate.