Abstract Class: ResultDefinition<T>
An abstract class representing the definition of a result in the execution context. It encapsulates the value and return code of the result.
Extended by
Type Parameters
T
T = unknown
Constructors
Constructor
new ResultDefinition<
T>(value,rc):ResultDefinition<T>
Parameters
value
T
rc
number
Returns
ResultDefinition<T>
Properties
rc
readonlyrc:number
value
readonlyvalue:T
Methods
process()
abstractprocess(context):Promise<void>
Processes the result using the provided execution context.
Parameters
context
The execution context containing relevant information for processing.
Returns
Promise<void>
A promise resolving when the result has been processed.