ZenithIsolateX extension
Adds background-isolate execution to ZenithRef.
- on
Methods
-
runInIsolate<
T, P> (ZenithNode< AsyncValue< node, P payload, T heavyComputation(P payload), {ConcurrencyStrategy strategy = ConcurrencyStrategy.concurrent}) → Future<T> >void> -
Available on ZenithRef, provided by the ZenithIsolateX extension
RunsheavyComputationon a background Isolate via Isolate.run, then writes the result tonodevia runAsyncGuarded.