Example usage for Java org.apache.commons.javaflow.api Continuation fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | value |
void | again() Jumps to where the execution was resumed. |
void | cancel() Jumps to where the execution was resumed, and suspend execution. |
Continuation | resume() Resumes the execution of the specified continuation from where it's left off. |
Continuation | startSuspendedWith(final Runnable target) Creates a new Continuation object from the specified Runnable object. |
Continuation | startWith(final Runnable target) Starts executing the specified Runnable object in an environment that allows Continuation#suspend() . |
Object | suspend() Stops the running continuation. |
Object | suspend(final Object value) Stops the running continuation. |
void | terminate() Abnormally terminates the suspended call chain represented by this continuation. |