AnyCancellable

public extension AnyCancellable
  • Stores the cancellable object in the given cancel bag.

    Declaration

    Swift

    func store(in cancelBag: CancelBag)

    Parameters

    cancelBag

    The cancel bag to store the cancellable object in.