vibe.d beta banner
get vibe.d
0.10.0

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

Module vibe.core.task

Contains interfaces and enums for evented I/O drivers.

Classes

NameDescription
InterruptException Exception that is thrown by Task.interrupt.

Structs

NameDescription
Task Represents a single task as started using vibe.core.runTask.
TaskCreationInfo
TaskLocal Implements a task local storage variable.
TaskSettings Settings to control the behavior of newly started tasks.

Enums

NameDescription
TaskEvent High level state change events for a Task
TaskSwitchPriority Controls the priority to use for switching execution to a task.

Manifest constants

NameTypeDescription
maxTaskParameterSize The maximum combined size of all parameters passed to a task delegate

Aliases

NameTypeDescription
TaskCreationCallback nothrow @safe void function(ref TaskCreationInfo)
TaskEventCallback nothrow void function(TaskEvent, Task)
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.