TransactionPlanResult

type TransactionPlanResult<TContext, TSingle> = 
  | ParallelTransactionPlanResult<TContext, TSingle>
  | SequentialTransactionPlanResult<TContext, TSingle>
  | TSingle;

The result of executing a transaction plan.

This is structured as a recursive tree of results that mirrors the structure of the original transaction plan, capturing the execution status at each level.

Namely, the following result types are supported:

Type Parameters

Type ParameterDefault typeDescription
TContext extends TransactionPlanResultContextTransactionPlanResultContextThe type of the context object that may be passed along with successful results
TSingle extends SingleTransactionPlanResult<TContext>SingleTransactionPlanResult<TContext>The type of single transaction plan results in this tree

See

On this page