ExperimentalThe original factory whose singleton $() is currently creating, if any.
(Only useful for generic replace factories.)
Replace the implementation for a given factory (the "original"), such
that future calls to $(original) will call or construct the replacement
instead.
Set the cached singleton instance for a given factory. (e.g. for testing)
Unset the cached singleton for a given factory, such that the next call
to $(factory) will create a new instance.
Utilities for manipulating the singleton cache (e.g. for testing)