Function: operation.Execute

Executes the given Operation. The return value is either a result, an error, or a token to signal a long-running Operation.

Syntax

{
	"method": "ext.deviceadapter.operation.Execute",
	"params": {
		"operation": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<OperationResult> OperationExecute( Operation operation );
public Task<OperationResult> OperationExecuteAsync(Operation operation, CancellationToken ct = default);
operationExecute(operation: Operation): Promise<OperationResult>;

Parameters

operation : Operation

Operation to execute.

Result : OperationResult

Remarks

Note that Operations that remain unanswered for too long may get cancelled by the host application due to timeout. See the Device Integration section for details.