vibe.core.task

Contains interfaces and enums for evented I/O drivers.

Members

Aliases

TaskCreationCallback
alias TaskCreationCallback = void function(ref TaskCreationInfo) nothrow @(safe)
Undocumented in source.
TaskEventCallback
alias TaskEventCallback = void function(TaskEvent, Task) nothrow
Undocumented in source.

Classes

InterruptException
class InterruptException

Exception that is thrown by Task.interrupt.

TaskFiber
class TaskFiber

The base class for a task aka Fiber.

Enums

ScheduleStatus
enum ScheduleStatus
Undocumented in source.
TaskEvent
enum TaskEvent

High level state change events for a Task

TaskSwitchPriority
enum TaskSwitchPriority

Controls the priority to use for switching execution to a task.

Functions

callWithMove
string callWithMove(string func, string args)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

maxTaskParameterSize
enum maxTaskParameterSize;

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

Structs

Task
struct Task

Represents a single task as started using vibe.core.runTask.

TaskCreationInfo
struct TaskCreationInfo
Undocumented in source.
TaskFuncInfo
struct TaskFuncInfo
Undocumented in source.
TaskLocal
struct TaskLocal(T)

Implements a task local storage variable.

TaskScheduler
struct TaskScheduler
Undocumented in source.
TaskSettings
struct TaskSettings

Settings to control the behavior of newly started tasks.

Meta

Authors

Sönke Ludwig

License

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