$lifetime method

ReadLifetime<T> $lifetime(
  1. Node node
)

Used by the registry to create a read lifetime. Bit hacky, but allows us to go from dynamic to T.

Implementation

ReadLifetime<T> $lifetime(Node node) => ReadLifetime(node);