ports/ports library VM
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages.
To use this library in your code:
import 'dart:isolate';
Classes
- Capability2
- RawReceivePort2
- ReceivePort2
- Together with SendPort2, the only means of communication between isolates.
- SendPort2
- Sends messages to its ReceivePort2s.
- TransferableTypedData2
- An efficiently transferable sequence of byte values.
-
WorkIsolate<
P extends SendPort2> - An isolated Dart execution context.
Exceptions / Errors
- IsolateSpawnException2
- Thrown when an isolate cannot be created.
- RemoteError2
- Description of an error from another isolate.