ZenithConcurrencyX extension
Adds concurrency-guarded async execution to ZenithRef.
- on
Methods
-
runAsyncGuarded<
T> (ZenithNode< AsyncValue< node, Future<T> >T> task(), {ConcurrencyStrategy strategy = ConcurrencyStrategy.restartable}) → Future<void> -
Available on ZenithRef, provided by the ZenithConcurrencyX extension
Executestaskand writes its result tonode, guarding against race conditions between overlapping calls according tostrategy.