!7 p { print(aFunction(false)); print(aFunction(true)); } sS aFunction(bool hibernate) { if (hibernate) throw HibernatingTheThread(func -> S { print("Sleeping..."); sleep(1000); ret "finished"; }); else ret "hello"; } sclass HibernatingTheThread extends RuntimeException { F0 continuation; *() {} *(F0 *continuation) {} }