Slide 9
Slide 9 text
Continuation
9
Ø A continuation can be viewed as
Ø A representation of the current state of the program or
Ø “The rest of the computation”
Ø It allows us to pause execution of a program (or part thereof) and resume it later.
Ø Continuations in Java
Ø WARNING: Continuation API in Java is not supposed to be used directly by application
developers. For now, it is only used internally to implement virtual threads.