guard method
Executes future and writes its result to this node, guarding every
mutation with ref's lifecycle. Equivalent to ref.runAsync(this, future).
Implementation
Future<void> guard(ZenithRef ref, Future<T> Function() future) {
return ref.runAsync(this, future);
}