Interface Continuation


  • public interface Continuation
    Represents a continuation of a paused event handler. Any of the resume methods may only be called once otherwise an IllegalStateException is expected.
    • Method Detail

      • resume

        void resume()
        Resumes the continuation.
      • resumeWithException

        void resumeWithException​(java.lang.Throwable exception)
        Resumes the continuation after the executed task failed.