Contents

AsyncThrowingStream.Continuation.BufferingPolicy.bufferingNewest(_:)

When the buffer is full, discard the oldest element in the buffer.

Declaration

case bufferingNewest(Int)

Discussion

This strategy enforces keeping the specified amount of newest values.

See Also

Buffering Policies