vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Enum ChannelPriority

enum ChannelPriority : int { ... }

Enum members

latency Minimize latency

Triggers readers immediately once data is available and triggers writers as soon as the queue has space.

overhead Minimize overhead.

Triggers readers once the queue is full and triggers writers once the queue is empty in order to maximize batch sizes and minimize synchronization overhead.

Note that in this mode it is necessary to close the channel to ensure that the buffered data is fully processed.


Sönke Ludwig


© 2017-2019 Sönke Ludwig


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.