Contents

AsyncStream.Continuation.BufferingPolicy.bufferingNewest(_:)

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

Declaration

case bufferingNewest(Int)

Discussion

This strategy enforces keeping at most the specified number of newest values.

See Also

Buffering Policies