CpsRuntimeAwait

trait CpsRuntimeAwait[F[_]]

When this typeclass is implemented for a monad F, dotty-cps-async can use runtime await invocations for handling of high-order functions when shifted variants are not available.

class Object
trait Matchable
class Any

Value members

Abstract methods

def await[A](fa: F[A])(m: CpsAsyncMonad[F], ctx: CpsMonadContext[F]): A
def runAsync[A, C <: CpsMonadContext[F]](f: C => A)(m: CpsAsyncEffectMonad[F], ctx: C): F[A]

Concrete methods

def async[A, C <: CpsMonadContext[F]](f: C => A)(m: CpsAsyncEffectMonad[F], ctx: C): F[A]