pub fn run_worker<F>(
worker_kind: WorkerKind,
socket_path: PathBuf,
worker_dir_path: PathBuf,
node_version: Option<&str>,
worker_version: Option<&str>,
event_loop: F,
)Expand description
Initializes the worker process, then runs the given event loop, which spawns a new job process to securely handle each incoming request.