ZenithIsolateX extension

Adds background-isolate execution to ZenithRef.

on

Methods

runInIsolate<T, P>(ZenithNode<AsyncValue<T>> node, P payload, T heavyComputation(P payload), {ConcurrencyStrategy strategy = ConcurrencyStrategy.concurrent}) → Future<void>

Available on ZenithRef, provided by the ZenithIsolateX extension

Runs heavyComputation on a background Isolate via Isolate.run, then writes the result to node via runAsyncGuarded.