AppContextProviders

com.github.rssh.appcontext.AppContextProviders
See theAppContextProviders companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

inline def checkAllAreNeeded[Xs <: NonEmptyTuple](using p: AppContextProviders[Xs]): Boolean
def of[T <: NonEmptyTuple](values: T): AppContextProviders[T]

Accept a tuple of services and create an AppContextProviders for then.

Accept a tuple of services and create an AppContextProviders for then.

 val providers = AppContextProviders.of((service1, Service2))
 val depended = new Dependend(using providers)

Attributes

Givens

Givens

inline given generate[T <: NonEmptyTuple]: AppContextProviders[T]