SafeAsyncNodeX<T> extension
Adds mounted-safe async execution helpers directly on async state nodes.
- on
-
- ZenithNode<
AsyncValue< T> >
- ZenithNode<
Methods
-
guard(
ZenithRef ref, Future< T> future()) → Future<void> -
Available on ZenithNode<
ExecutesAsyncValue< , provided by the SafeAsyncNodeX extensionT> >futureand writes its result to this node, guarding every mutation withref's lifecycle. Equivalent toref.runAsync(this, future).