Skip to content

Introduction

ChildPoolJob is implemented based on Node.js child processes. It can create a pool of processes that stay resident in memory. When a task is submitted, it is executed directly without the performance overhead of creating and destroying processes, resulting in low latency.

Note: Node.js child processes cannot use any Electron APIs (Electron technology itself does not support this). Related business logic should be written in the main process

Directory

./electron/jobs

Usage

See: Example code in the demo branch