ZenithConcurrencyX extension

Adds concurrency-guarded async execution to ZenithRef.

on

Methods

runAsyncGuarded<T>(ZenithNode<AsyncValue<T>> node, Future<T> task(), {ConcurrencyStrategy strategy = ConcurrencyStrategy.restartable}) → Future<void>

Available on ZenithRef, provided by the ZenithConcurrencyX extension

Executes task and writes its result to node, guarding against race conditions between overlapping calls according to strategy.