Constructs a new SubtractTask.
Optional
properties: ISubtractTaskProperties to set
Optional
SubtractionSubtractTask Subtraction.
Optional
aggregatorSpecifies an aggregator to subtract by.
Optional
bigA stringified big.js. Accepts variable expansion syntax.
Optional
jobA job whose result is computed before subtracting our numerical input by that result.
Optional
scalarSpecifies a scalar to subtract by.
Static
createCreates a new SubtractTask instance using the specified properties.
Optional
properties: ISubtractTaskProperties to set
SubtractTask instance
Static
decodeDecodes a SubtractTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
SubtractTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a SubtractTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SubtractTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified SubtractTask message. Does not implicitly verify messages.
SubtractTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified SubtractTask message, length delimited. Does not implicitly verify messages.
SubtractTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a SubtractTask message from a plain object. Also converts values to their respective internal types.
Plain object
SubtractTask
Static
getStatic
toCreates a plain object from a SubtractTask message. Also converts values to other types if specified.
SubtractTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
This task will subtract 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 subtracting 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.