Cancellable
public protocol Cancellable
A protocol indicating that an activity or action may be canceled.
Calling cancel()
frees up any allocated resources. It also stops side
effects such as timers, network access, or disk I/O.
-
Cancel the activity.
Declaration
Swift
func cancel()
-
store(in:)
Extension methodDeclaration
Swift
@inlinable public func store(in set: inout Set<AnyCancellable>)
-
store(in:)
Extension methodDeclaration
Swift
@inlinable public func store<C>(in collection: inout C) where C : RangeReplaceableCollection, C.Element == AnyCancellable