In

com.github.rssh.appcontext.AppContext.In
class In[F[_]]

Async access to application context in effect F.

 val asyncAppContext = AppContext.In[Durable]()
 val service = asyncAppContext[EmailService]  // returns Durable[EmailService]

Type parameters

F
  • effect type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply[T](using p: AppContextAsyncProvider[F, T]): F[T]