lazyInstance
Creates an instance of Lazy that resolves the service for R on first access.
Return
The provider function.
Parameters
block
An optional builder block to pass runtime dependencies to the factory.
Throws
Creates an instance of Lazy that resolves the service for key on first access.
Return
The provider function.
Parameters
key
The TypeKey of the service to resolve.
block
An optional builder block to pass runtime dependencies to the factory.