Interface OperationListener


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

      • 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.