Instance Methodswift-nio 2.84.0NIOCore
didConsume(bufferDepth:)
NIOAsyncSequenceProducerStrategies.swift:47- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
mutating func didConsume(bufferDepth: Int) -> Bool
mutating func didConsume(bufferDepth: Int) -> Bool
s7NIOCore46NIOAsyncSequenceProducerBackPressureStrategiesO16HighLowWatermarkV10didConsume11bufferDepthSbSi_tF
What are these?3EEPW
import NIOCore
The core abstractions that make up SwiftNIO.
struct HighLowWatermark
A high-low watermarked back-pressure strategy for a NIOAsyncSequenceProducer
.
enum NIOAsyncSequenceProducerBackPressureStrategies
@frozen struct Int
A signed integer value type.
@frozen struct Bool
A value type whose instances are either true
or false
.
init(lowWatermark: Int, highWatermark: Int)
Initializes a new HighLowWatermark
.
mutating func didYield(bufferDepth: Int) -> Bool