Next: , Up: Continuation


1.41.1 Continuation class: instance creation

current
Return a continuation.


currentDo: aBlock
Pass a continuation to the one-argument block, aBlock and return the result of evaluating it.


escapeDo: aBlock
Pass a continuation to the one-argument block, knowing that aBlock does not fall off (either because it includes a method return, or because it yields control to another continuation). If it does, an exception will be signalled and the current process terminated.