submitAndWait

suspend fun submitAndWait(submission: CommandSubmission): String

Submits submission and waits for it to be committed, returning the update id. Retryable failures are retried with the same command id, so the participant deduplicates re-executions.

Throws

if the submission ultimately fails.