vibe.d beta banner
get vibe.d
0.7.30

Interface DriverCore

Provides an event driver with core functions for task/fiber control.

Properties

Name Type Description
eventException [set] Exception Sets an exception to be thrown on the next call to yieldForEvent.

Methods

Name Description
isScheduledForResume
notifyIdle Notifies the core that all events have been processed.
resumeTask Resumes the given task.
yieldAndResumeTask Yields the current task and resumes another one.
yieldForEvent Yields execution until the event loop receives an event.
yieldForEventDeferThrow Yields execution until the event loop receives an event.
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.