Class: OkWebSocketResult<T>
A class for representing WebSocket results with a body.
Extends
Type Parameters
T
T = unknown
Constructors
Constructor
new OkWebSocketResult<
T>(value):OkWebSocketResult<T>
Parameters
value
T
Returns
OkWebSocketResult<T>
Overrides
Properties
rc
readonlyrc:number
Inherited from
value
readonlyvalue:T
Inherited from
Methods
process()
process(
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.