Publisher
public extension Publisher
public extension Publisher where Failure == Never
AsyncCompatibilityKit Copyright © John Sundell 2021 MIT license, see LICENSE.md file for details
-
Convert this publisher into an
AsyncThrowingStreamthat can be iterated over asynchronously usingfor try await. The stream will yield each output value produced by the publisher and will finish once the publisher completes.Declaration
Swift
var values: AsyncThrowingStream<Output, Error> { get }
-
Convert this publisher into an
AsyncStreamthat can be iterated over asynchronously usingfor await. The stream will yield each output value produced by the publisher and will finish once the publisher completes.Declaration
Swift
var values: AsyncStream<Output> { get }
View on GitHub