NonLocalReturnsAsyncShift

cps.runtime.util.control.NonLocalReturnsAsyncShift
object NonLocalReturnsAsyncShift extends AsyncShift[NonLocalReturns.type]

Attributes

Graph
Supertypes
trait AsyncShift[NonLocalReturns.type]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def returning[F[_], T](o: NonLocalReturns.type, m: CpsTryMonad[F])(op: (ReturnThrowable[T]) => F[T]): F[T]
def syncReturning[T](op: (ReturnThrowable[T]) => T): T

Version of returning,

Version of returning,

Attributes

def throwReturn[T](r: T)(rt: ReturnThrowable[T]): Nothing