Skip to main content

Module worker

Module worker 

Source
Expand description

Isolated rendering, shared wire protocol and process supervision.

Structs§

Worker
One child process with bounded messages, cancellation and failure cleanup. Applications own the scheduling queue and decide when to recycle or retire it.

Constants§

MAX_REQUESTS
A worker exits after this many requests; applications can recycle it sooner.

Functions§

worker_main
Private child entry point; invoke before application initialization.