BaseRpcContext
class BaseRpcContext<T = unknown[]> {
constructor(args: T)
protected args: T
getArgs(): T
getArgByIndex(index: number)
}
Constructor
Properties
Property | Description |
---|---|
protected args: T
|
Read-only. Declared in constructor. |
Methods
getArgs() |
---|
Returns the array of arguments being passed to the handler. |
ParametersThere are no parameters. Returns
|
getArgByIndex() |
---|
Returns a particular argument by index. |