dyno library
A dynamic isolation pool with load balance for Flutter.
Properties
- freeIsolatorCount → int
-
Returns isolator count with 0 load.
no setter
Functions
-
dispose(
) → void - Kills and clears all isolators.
-
limit(
int count) → void - Limits max isolator count.
-
prepare(
{bool single = false}) → Future< void> - Prepares max two isolate before using run.
-
reserve(
{required String key}) → Future< void> - Reserves an isolator.
-
run<
R> (Function func, {dynamic param1, dynamic param2, dynamic param3, dynamic param4, String? key}) → FutureOr< R> - Runs a function isolated and returns result.
-
unreserve(
String key) → void