Constructs a new ValueTask.
Optionalproperties: IValueTaskProperties to set
OptionalaggregatorSpecifies an aggregatorr to pull the value of.
OptionalbigA stringified big.js. Accepts variable expansion syntax.
OptionalhexA stringified hex number (0x prefix is optional).
Optionalutf8A utf8 string.
OptionalvalueThe value that will be returned from this task.
OptionalValueValueTask Value.
Converts this ValueTask to JSON.
JSON object
StaticcreateCreates a new ValueTask instance using the specified properties.
Optionalproperties: IValueTaskProperties to set
ValueTask instance
StaticdecodeDecodes a ValueTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
ValueTask
StaticdecodeDecodes a ValueTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ValueTask
StaticencodeEncodes the specified ValueTask message. Does not implicitly {@apilink oracle_job.OracleJob.ValueTask.verify|verify} messages.
ValueTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified ValueTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.ValueTask.verify|verify} messages.
ValueTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a ValueTask message from a plain object. Also converts values to their respective internal types.
Plain object
ValueTask
StaticgetGets the default type url for ValueTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a ValueTask message. Also converts values to other types if specified.
ValueTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a ValueTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Returns a specified value.
Input: None
Returns: A numerical result.
Example: Returns the value 10
Example: Returns the currentRound result of an aggregator
Example: Returns the value stored in a CacheTask variable