SwiftclassAsyncAlgorithmsInternal
class AsyncAlgorithmsInternal.AsyncChannel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.AsyncSequence
Members 9
- deinit
deinit - field
let storage: AsyncAlgorithmsInternal.ChannelStorage<A, Never>+0x10 - func
finish() -> () - func
makeAsyncIterator() -> AsyncAlgorithmsInternal.AsyncChannel<A>.Iterator - func
send(A) async -> () - init
AsyncAlgorithmsInternal.AsyncChannel.__allocating_init() -> AsyncAlgorithmsInternal.AsyncChannel<A> - typealias
typealias AsyncIterator = AsyncAlgorithmsInternal.AsyncChannel<A>.Iterator - typealias
typealias Element = A - typealias
typealias Failure = Swift.Never
Header
class AsyncChannel<A> { struct Iterator { let storage: AsyncAlgorithmsInternal.ChannelStorage<A, Swift.Never> func next() async -> A? } let storage: AsyncAlgorithmsInternal.ChannelStorage<A, Swift.Never> init() final func makeAsyncIterator() -> AsyncAlgorithmsInternal.AsyncChannel<A>.Iterator final func send(_: A) async final func finish() deinit }