Enumerationswift-nio 2.72.0NIOCore
NIOAsyncSequenceProducerBackPressureStrategies
NIOAsyncSequenceProducerStrategies.swift:15enum NIOAsyncSequenceProducerBackPressureStrategies
See also
struct NIOAsyncSequenceProducer<Element, Strategy, Delegate>
This is an
AsyncSequence
that supports a unicastAsyncIterator
.struct NIOThrowingAsyncSequenceProducer<Element, Failure, Strategy, Delegate>
This is an
AsyncSequence
that supports a unicastAsyncIterator
.protocol NIOAsyncSequenceProducerBackPressureStrategy
A protocol for the back-pressure strategy of the
NIOAsyncSequenceProducer
.protocol NIOAsyncSequenceProducerDelegate
The delegate of
NIOAsyncSequenceProducer
.struct NIOAsyncWriter<Element, Delegate>
A
NIOAsyncWriter
is a type used to bridge elements from the Swift Concurrency domain into a synchronous world. TheTask
s that are yielding to theNIOAsyncWriter
are the producers. Whereas theNIOAsyncWriterSinkDelegate
is the consumer.protocol NIOAsyncWriterSinkDelegate
The delegate of the
NIOAsyncWriter
. It is the consumer of the yielded writes to theNIOAsyncWriter
. Furthermore, the delegate gets informed when theNIOAsyncWriter
terminated.
Citizens in NIOCore
Types
struct HighLowWatermark
A high-low watermarked back-pressure strategy for a
NIOAsyncSequenceProducer
.