vibe.d beta banner
get vibe.d
0.8.1

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

Function DriverCore.eventException

Sets an exception to be thrown on the next call to yieldForEvent.

abstract void eventException (
  Exception e
) @property @safe;

Note that this only has an effect if yieldForEvent is called outside of a task. To throw an exception in a task, use the event_exception parameter to resumeTask.

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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