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 MeanTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
MeanTask
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 MeanTask message. Also converts values to other types if specified.
MeanTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
Returns the mean (average) 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 mean numerical result of 3 tasks.
Example: Returns the mean numerical result of 3 jobs.