store(in:)
Stores this type-erasing cancellable instance in the specified collection.
Declaration
final func store<C>(in collection: inout C) where C : RangeReplaceableCollection, C.Element == AnyCancellableParameters
- collection:
The collection in which to store this Anycancellable.