vibe.d beta banner
get vibe.d

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

Function setTaskEventCallback

Sets a callback that is invoked whenever a task changes its status.

void setTaskEventCallback (
  nothrow void function(TaskEvent, Task) func

This function is useful mostly for implementing debuggers that analyze the life time of tasks, including task switches. Note that the callback will only be called for debug builds.


Sönke Ludwig


© 2012-2020 Sönke Ludwig


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