cxJob

cxJob

Push a job to the ScriptForge job queue

Methods

(static) add(id, fnName, data, opts) → {Promise}

Description:
  • Add Job

Example
await job.scriptForge(1234, {key: 'value'});
Parameters:
Name Type Description
id number

ScriptForge ID

fnName string

Function Name

data object

Data

opts object

Options

Returns:
Type
Promise

(static) scriptForge(id, data, opts) → {Promise}

Description:
  • scriptForge - [DEPRECATED]

Example
await job.scriptForge(1234, {key: 'value'});
Parameters:
Name Type Description
id number

ScriptForge ID

data object

Data

opts object

Additional Options

Returns:
Type
Promise