vibe.d beta banner
get vibe.d

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

Struct blocking

Marks a function as blocking.

struct blocking ;

Blocking in this case means that it may contain an operation that needs to wait for external events, such as I/O operations, and may result in other tasks in the same threa being executed before it returns.

Currently this attribute serves only as a documentation aid and is not enforced or used for deducation in any way.


Sönke Ludwig


© 2012-2016 Sönke Ludwig


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