FutureContext

cps.monads.FutureContext

Attributes

Graph
Supertypes
trait CpsMonadContext[Future]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type Monad[X] = F[X]

Attributes

Inherited from:
CpsMonadContext

Value members

Concrete methods

def executionContext: ExecutionContext
def submit[A](a: Future[A]): Unit

Inherited methods

def adoptAwait[A](fa: Future[A]): F[A]

If is it statically known, that monad is evaluated in this context, then this call is completely eliminated by dotty-cps-async macro

If is it statically known, that monad is evaluated in this context, then this call is completely eliminated by dotty-cps-async macro

Attributes

Returns:

fa

Inherited from:
CpsMonadNoAdoptContext