vibe.d beta banner
get vibe.d
0.8.0

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

Interface DriverCore

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

interface DriverCore ;

Properties

NameTypeDescription
eventException[set]ExceptionSets an exception to be thrown on the next call to yieldForEvent.

Methods

NameDescription
isScheduledForResume
notifyIdleNotifies the core that all events have been processed.
resumeTaskResumes the given task.
yieldAndResumeTaskYields the current task and resumes another one.
yieldForEventYields execution until the event loop receives an event.
yieldForEventDeferThrowYields 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.