Skip to main content

enqueue_or_get_active_workflow_tx

Function enqueue_or_get_active_workflow_tx 

Source
pub async fn enqueue_or_get_active_workflow_tx(
    tx: &mut DbTx<'_>,
    payload: &WorkflowRunEnqueue<'_>,
) -> Result<EnqueueActiveWorkflowOutcome>
Expand description

Caller-transaction counterpart to enqueue_or_get_active_workflow.

The transaction must use READ COMMITTED. This function neither commits nor rolls it back.