CpsMonadNoAdoptContext

cps.CpsMonadNoAdoptContext

marker trait for context with NOOP intercaprAwait operation

Attributes

Source:
CpsMonadContext.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Inherited types

type Monad[X] = F[X]

Attributes

Inherited from:
CpsMonadContext
Source:
CpsMonadContext.scala

Value members

Concrete methods

def adoptAwait[A](fa: F[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

Source:
CpsMonadContext.scala