vibe.d beta banner
get vibe.d
0.10.1

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

Enum PipeMode

enum PipeMode : int { ... }

Enum members

NameDescription
concurrent Uses a task to concurrently read and write.

This mode maximizes throughput at the expense of setting up a task and associated sycnronization.

sequential Sequentially reads into a buffer and writes it out to the sink.

This mode reads and writes to the same buffer in a ping-pong fashion. The memory overhead is low, but if the source does not support read-ahead buffering, or the sink does not have an internal buffer that is drained asynchronously, the total throghput will be reduced.

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

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