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 Summary

    Modifier and Type
    Method
    Description
    void
    Resumes the continuation.
    void
    Resumes the continuation after the executed task failed.
  • Method Details

    • resume

      void resume()
      Resumes the continuation.
    • resumeWithException

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