callContinuation objects are generated by
Kernel#callcc. They hold a return address and execution
context, allowing a nonlocal return to the end of the callcc
block from anywhere within a program. Continuations are somewhat
analogous to a structured version of C's setjmp/longjmp
(although they contain more state, so you might consider them closer
to threads).
For instance:
Invokes the continuation. The program continues from the end of
the callcc block. If no arguments are given, the original
callcc returns nil. If one argument is given,
callcc returns it. Otherwise, an array containing
args is returned.