aqueduct_isolates library
Support for creating long-lived isolate based workers.
Classes
- Aqueduct
- Flexible handler for creating long-lived isolate based workers.
- AqueductCallback
- Initial callback message of spawned isolate to the main isolate.
- AqueductContext
- Shared context abstraction for both the main and spawned isolates.
- AqueductImpl
- AqueductInitArgs
- Initial message which is sent to the spawned isolate.
-
AqueductPool<
T extends Aqueduct> - A pool consisting of a total of count individual Aqueduct isolates which are constructed using supplier.
- MainIsolate
- Marks something as being only available in the scope of the main isolate.
- SpawnedIsolate
- Marks something as being only available in the scope of the spawned isolate.
Extensions
Functions
-
aqueductEntrypoint(
AqueductInitArgs args) → void - Entrypoint for the isolates spawned by Aqueduct.launch.