Cancelable

public protocol Cancelable

Defines a protocol for objects that can be canceled.

  • Undocumented

    Declaration

    Swift

    func cancel()
  • add(to:) Extension method

    Adds a cancelable to a CancelableGroup object.

    Declaration

    Swift

    func add(to cancelableGroup: CancelableGroup)

    Parameters

    cancelableGroup

    The cancelable group to add the cancelable object.