Return a singleton instance for the given factory, or create a per-signal
lazy constant (a bit like React's useMemo, but without the deps or ordering
constraints).
Utilities for manipulating the singleton cache (e.g. for testing)
Wrap a factory function to create a "service" accessor (a shorthand function
for getting $(factory)).
A function, or class constructor producing a value that will be cached by
$``() as a permanent-per-signal constant at a given call site.
A function, or class constructor producing a value that will be cached by
$() and service() accessors for the life of the root job, or until
overridden or unset via $cache.
Tools for sharing tasks, values, services, etc., especially across job boundaries, but also across reactive expression lifetimes (similar to React hooks).