CancellationListener

open class CancellationListener : ObjectBase

Listener for notification of request cancellation.

  • Default initializer.

    Declaration

    Swift

    override public init()
  • Notify the cancellation of token.

    Declaration

    Swift

    open func onCancel(token: CancelToken) throws

    Parameters

    token

    Cancellation token.