AmplifyAsyncSequence
public class AmplifyAsyncSequence<Element> : AsyncSequence, Cancellable where Element : Sendable
-
Declaration
Swift
public typealias Iterator = AsyncStream<Element>.Iterator -
Declaration
Swift
public private(set) var isCancelled: Bool { get } -
Declaration
Swift
public init( parent: Cancellable? = nil, bufferingPolicy: AsyncStream<Element>.Continuation.BufferingPolicy = .unbounded ) -
Declaration
Swift
public func makeAsyncIterator() -> Iterator -
Declaration
Swift
public func send(_ element: Element) -
Declaration
Swift
public func finish() -
Declaration
Swift
public func cancel()
View on GitHub