dart:isolate library
Concurrent programming usingisolates:independent workers that are similar to threadsbut don't share memory,communicating only via messages.
NOTE: Thedart:isolate library is currently only supported by theDart 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 otherisolates.
- Isolate
- An isolated Dart execution context.
- RawReceivePort
- A low-level asynchronous message receiver.
- ReceivePort
- Together withSendPort, the only means of communication between isolates.
- SendPort
- Sends messages to itsReceivePorts.
- 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.