vibe.d beta banner
get vibe.d

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.


Sönke Ludwig


© 2012-2015 RejectedSoftware e.K.


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