Interface Async<T>


@DoNotImplement
public interface Async<T>
The interface for the async option of the extension system.
Since:
4.0.0, CE 2019.1
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  Async.Status
    Information about the runtime status of an async option.
  • Method Summary

    Modifier and Type Method Description
    T getOutput()
    Return the original output object.
    @NotNull Async.Status getStatus()
    Return the current status of the async option.
    void resume()
    Signal HiveMQ that the async action is done and normal extension operations can resume.
  • Method Details

    • resume

      void resume()
      Signal HiveMQ that the async action is done and normal extension operations can resume.
      Since:
      4.0.0, CE 2019.1
    • getOutput

      @NotNull T getOutput()
      Return the original output object.
      Returns:
      The original output object.
      Since:
      4.0.0, CE 2019.1
    • getStatus

      Return the current status of the async option.
      Returns:
      The runtime status of the async option.
      Since:
      4.0.0, CE 2019.1