Class: Parent

workers~Parent()

Parent Represents the parent process.

Constructor

new Parent()

Create the parent process.

Extends:
  • EventEmitter
Source:

Extends

  • EventEmitter

Methods

destroy()

Destroy the parent process.

Source:

destroy()

Destroy the parent process.

Source:

(private) init()

Initialize master (web workers).

Source:

(private) init()

Initialize master (node.js).

Source:

write(data) → {Boolean}

Send data to parent process.

Parameters:
Name Type Description
data Buffer
Source:
Returns:
Type
Boolean

write(data) → {Boolean}

Send data to parent process.

Parameters:
Name Type Description
data Buffer
Source:
Returns:
Type
Boolean