A list of subjobs to process and produce a list of result values.
A list of subtasks to process and produce a list of result values.
Static
createStatic
decodeDecodes a MaxTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
MaxTask
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 a MaxTask message. Also converts values to other types if specified.
MaxTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
Returns the maximum value of all the results returned by the provided subtasks and subjobs. Nested tasks or jobs must return a Number.
Input: None
Returns: A numerical result.
Example: Returns the maximum numerical result from 3 tasks.
Example: Returns the maximum numerical result from 3 jobs.