Interface OperationListener


public interface OperationListener
Listener that is invoked to notify on success or failure of the suspend operation.
Author:
Stuart Douglas
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a suspend operation is cancelled
    void
    Invoked when a suspend operation is complete
    void
    Invoked when a suspend operation is started.
    default void
    Deprecated, for removal: This API element is subject to removal in a future version.
    This event is no longer emitted.
  • Method Details

    • suspendStarted

      void suspendStarted()
      Invoked when a suspend operation is started.
    • complete

      void complete()
      Invoked when a suspend operation is complete
    • cancelled

      void cancelled()
      Invoked when a suspend operation is cancelled
    • timeout

      @Deprecated(forRemoval=true) default void timeout()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This event is no longer emitted.
      Invoked when a suspend operation times out.