Enumeration Caseswift 6.0.3_Concurrency
unbounded
Continue to add to the buffer, treating its capacity as infinite.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
case unbounded
Continue to add to the buffer, treating its capacity as infinite.
case unbounded
sScs12ContinuationV15BufferingPolicyO9unboundedyADyxq___GAFms5ErrorR_r0_lF
What are these?2LDVO
import _Concurrency
enum BufferingPolicy
A strategy that handles exhaustion of a buffer’s capacity.
struct AsyncThrowingStream<Element, Failure> where Failure : Error
An asynchronous sequence generated from an error-throwing closure that calls a continuation to produce new elements.
struct Continuation
A mechanism to interface between synchronous code and an asynchronous stream.
case bufferingNewest(Int)
When the buffer is full, discard the oldest element in the buffer.
case bufferingOldest(Int)
When the buffer is full, discard the newly received element.