Skip to main content

BatchOf

Type Alias BatchOf 

Source
pub type BatchOf<F> = CommandBatch<CommandOf<F>>;
Expand description

The batch type the suite hands to the executor under test.

Aliased Type§

pub struct BatchOf<F> {
    pub batch_id: BatchId,
    pub scope: AtomicityScope,
    pub envelopes: Vec<CommandEnvelope<<<F as ExecutorFactory>::Workflow as WorkflowDefinition>::Command>>,
}

Fields§

§batch_id: BatchId

Identifier of the batch.

§scope: AtomicityScope

Scope under which the envelopes commit.

§envelopes: Vec<CommandEnvelope<<<F as ExecutorFactory>::Workflow as WorkflowDefinition>::Command>>

The envelopes, in execution order.