class

Di::Provider::Base

Inherits Reference < Object

Abstract base for type-erased provider storage in the registry. Only includes methods that don't need type info.

Instance methods

check_health

Attempt to call .healthy? on the cached instance. Returns nil if not resolved, transient, or service doesn't respond.

Source
key=(key : String)

Registry key for cycle detection (set by register_provider).

Source
reset!
Source
shutdown_instance

Attempt to call .shutdown on the cached instance (if any). No-op for transient providers or unresolved singletons.

Source
transient?
Source