Optional
AdditionAddTask Addition.
Optional
aggregatorSpecifies an aggregator to add by.
Optional
bigA stringified big.js. Accepts variable expansion syntax.
Optional
jobA job whose result is computed before adding our numerical input by that result.
Optional
scalarSpecifies a scalar to add by.
Static
createStatic
decodeDecodes an AddTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
AddTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeStatic
encodeStatic
encodeStatic
fromStatic
getStatic
toCreates a plain object from an AddTask message. Also converts values to other types if specified.
AddTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
This task will add a numerical input by a scalar value from a job of subtasks, an aggregator, or a big.
Input: The current running numerical result output from a scalar value, an aggregator, a job of subtasks or a big.
Returns: A numerical result.
Example: Returns the numerical result by adding by a job of subtasks.
Example: Returns the numerical result by multiplying by an aggregator.
Example: Returns the numerical result by multiplying by a big.