Context25
Constructors
Models
ContextinterfaceImmutable collection of service implementations used for dependency injection in Effect programs.KeyinterfaceTyped identifier for a service stored in a Context.ReferenceinterfaceService key with a lazily computed default value.ServiceinterfaceContext key with helper methods for working with a service.ServiceClassinterfaceClass-style service key produced by Context.Service<Self, Shape>()("Id").Type Ids
Guards
Getters
getconstGets a service from the context that corresponds to the given key.getOptionconstGets the service for a key safely wrapped in an Option.getOrElseconstGets the service for a key, or evaluates the fallback when a non-reference key is absent.getOrUndefinedconstReturns the service currently stored for a key, or undefined when the key is absent.