Interface ProcessManager

Interface for process manager functionality

interface ProcessManager {
    all: ProcessesMap;
    add(process: Process): number;
    create(options: ProcessOptions): Process;
    get(pid: number): undefined | Process;
    pid(): number;
    remove(pid: number): void;
    spawn(parent: number, process: Process): number;
}

Properties

Methods

Properties

Get all processes

Methods