vibe.d beta banner
get vibe.d
0.8.5

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

Function Channel.consumeOne

Consumes a single element off the queue.

T consumeOne();

T consumeOne() shared;

This function will block if no elements are available. If the empty property is true, an exception will be thrown.

Authors

Sönke Ludwig

Copyright

© 2017-2019 RejectedSoftware e.K.

License

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