ProviderRegistry
Represents a type-safe associative array that stores associations like Key<T> -> Provider<T>.
Provider registries extend Registry by allowing values to be computed lazily through providers. This enables deferred computation, caching, and other advanced value provision strategies.
Inheritors
Functions
Returns an iterable of all key-provider pairs in this registry.
Returns an iterable of all key-value pairs registered in this registry.
Checks if the registryKey is stored in the registry and has an association with a value.
Retrieves the value associated with the specified registryKey.
Retrieves value by the specified registryKey or returns the default value if no association is present.
Retrieves value by the specified registryKey or computes the block and returns its value if no association is present.
Retrieves value by the specified registryKey or returns null if no association is present.
Gets the provider associated with the specified registryKey.
Gets the provider associated with the specified registryKey, or returns null if no association is present.