vibe.d beta banner
get vibe.d
0.7.30

Function setTaskEventCallback

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

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.

Prototype

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

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

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