AppContextAsyncProviderLookup

com.github.rssh.appcontext.AppContextAsyncProviderLookup
See theAppContextAsyncProviderLookup companion trait

Attributes

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

Members list

Givens

Givens

given fromProviders[F[_], Xs <: NonEmptyTuple, X, N <: Int](using providers: AppContextAsyncProvidersSearch[F, Xs], idx: OfSubtype[Xs, X, N]): fromProviders[F, Xs, X, N]

Highest priority: lookup from AppContextAsyncProviders in scope. This given is in AppContextAsyncProviderLookup companion, so it's found before any AppContextAsyncProvider[F, X] in X's companion.

Highest priority: lookup from AppContextAsyncProviders in scope. This given is in AppContextAsyncProviderLookup companion, so it's found before any AppContextAsyncProvider[F, X] in X's companion.

Attributes

Inherited givens

given fromAsyncProvider[F[_], T](using provider: AppContextAsyncProvider[F, T]): fromAsyncProvider[F, T]

Lowest priority fallback: delegate to AppContextAsyncProvider[F, T]. This picks up companion-defined async providers.

Lowest priority fallback: delegate to AppContextAsyncProvider[F, T]. This picks up companion-defined async providers.

Attributes

Inherited from:
AppContextAsyncProviderLookupLowPriority
given fromSyncProvider[F[_] : AppContextPure, T](implicit evidence$1: AppContextPure[F], syncProvider: AppContextProvider[T]): fromSyncProvider[F, T]

Mid priority: convert sync AppContextProvider to async. Local sync providers win over companion-defined async providers.

Mid priority: convert sync AppContextProvider to async. Local sync providers win over companion-defined async providers.

Attributes

Inherited from:
AppContextAsyncProviderLookupMidPriority