NonLocalReturnsAsyncShift

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

Attributes

Source
NonLocalReturnsAsyncShift.scala
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

Source
NonLocalReturnsAsyncShift.scala
def throwReturn[T](r: T)(rt: ReturnThrowable[T]): Nothing