OperationExecutor class
Executes operations using the plugin.
Methods
| execute<T>(string, string, unknown[]) | Executes an operation using the plugin. |
Method Details
execute<T>(string, string, unknown[])
Executes an operation using the plugin.
function execute<T>(operationName: string, action: string, params: unknown[]): Promise<IOperationResult<T>>
Parameters
- operationName
-
string
The name of the operation.
- action
-
string
The action to perform.
- params
-
unknown[]
The parameters for the operation.
Returns
Promise<IOperationResult<T>>
A promise resolving to the operation result.