offloading

Moving slow or heavy work off the main thread to another thread or process, so the event loop stays free to handle other requests.

In more detail

libuv offloads file system calls and some crypto to its thread pool automatically. Your own CPU-bound code can be offloaded to worker threads or child processes.

Related terms

Taught in

References