Cancellable
A cancellation token for a running operation.
Implements:
ICancellable
public init(
cancel: @escaping () -> Void,
release: @escaping () -> Void = {}
)
Methods
A cancellation token for a running operation.
ICancellable
public init(
cancel: @escaping () -> Void,
release: @escaping () -> Void = {}
)
public func cancel()
May be called any number of times from any queue.
public func hash(into hasher: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
hasher
Hasher
The hasher to use when combining the components of this instance.