CancelableGroup

public class CancelableGroup : Cancelable

CancelableGroup is an object that holds cancelable objects and is a cancelable object by himself. allows returning a cancelable object with multiple items to cancel when need to dispose.

  • Undocumented

    Declaration

    Swift

    public init(_ cancelables: [Cancelable] = [])
  • Undocumented

    Declaration

    Swift

    public func add(_ cancelable: Cancelable)
  • Undocumented

    Declaration

    Swift

    public func cancel()