vibe.d beta banner
get vibe.d
0.10.0

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

Function runEventLoopOnce

Wait once for events and process them.

ExitReason runEventLoopOnce (
  core.time.Duration timeout = max()
) nothrow @safe;

Parameters

NameDescription
timeout Maximum amount of time to wait for an event. A duration of zero will cause the function to only process pending events. A duration of Duration.max, if necessary, will wait indefinitely until an event arrives.
Authors

Sönke Ludwig

Copyright

© 2012-2020 Sönke Ludwig

License

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