CancellationToken
public struct CancellationToken
Type used to cancel an ongoing stream.
-
Cancel the ongoing stream by canceling the underlying
DataStreamRequest
.Declaration
Swift
public func cancel()