NewSequence

Simple struct for the return type of makeSequence(elementType:backPressureStrategy:delegate:).

NIOAsyncSequenceProducer.swift:108
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
struct NewSequence

This struct contains two properties:

  1. The source which should be retained by the producer and is used to yield new elements to the sequence.

  2. The sequence which is the actual AsyncSequence and should be passed to the consumer.