1#ifndef UVW_WORK_INCLUDE_H
2#define UVW_WORK_INCLUDE_H
34 using InternalTask = std::function<void(
void)>;
36 static void workCallback(uv_work_t *req);
39 using Task = InternalTask;
41 explicit WorkReq(ConstructorAccess ca, std::shared_ptr<Loop> ref, InternalTask t);
void queue()
Runs the given task in a separate thread.