vibe.d beta banner
get vibe.d
0.10.1

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

Enum ChannelPriority

enum ChannelPriority : int { ... }

Enum members

NameDescription
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.

Authors

Sönke Ludwig

Copyright

© 2017-2019 Sönke Ludwig

License

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