Sets the maximum number of bytes to process before enqueueing a handler block.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The channel whose high-water mark you want to configure.
The maximum number of bytes to read or write before enqueueing the corresponding I/O handler block.
During a read or write operation, the channel uses the high- and low-water mark values to determine how often to enqueue the associated handler block. It enqueues the block when the number of bytes read or written is between these two values.
The default high-water mark for channels is set to