Static methods
staticqueueWork(loop:Loop, ?request:ThreadPoolRequest, work:() ‑> Void, callback:(result:Result<NoData>) ‑> Void):Void
Schedules a function to be called by a thread in the thread pool.
work
is the function that will be called in the thread pool.
callback
will be called by the loop
after work
completes, or
immediately, in case there is an error scheduling work
.