Contents

store(in:)

Stores this cancellable instance in the specified collection.

Declaration

func store<C>(in collection: inout C) where C : RangeReplaceableCollection, C.Element == AnyCancellable

Parameters

  • collection:

    The collection in which to store this Cancellable.

See Also

Storing instances