Context::Execute

Runs a given operation in the context, blocking until completion

Executes a given operation. This call blocks until the operation is fully executed. The result value indicates if any error occurred during execution. In that case, check the operation error log.

Signature

class Context:
    // Runs a given operation in the context, blocking until completion
    fun execute(
        op: Operation,
        mode: ExecuteMode = Multithreaded,
    ) -> ExecuteResult