SuccessfulTransactionPlanResult

type SuccessfulTransactionPlanResult<TContext> = TransactionPlanResult<TContext, SuccessfulSingleTransactionPlanResult<TContext>>;

A TransactionPlanResult where all single transaction results are successful.

This type represents a transaction plan result tree where every SingleTransactionPlanResult has a 'successful' status. It can be used to ensure that an entire execution completed without any failures or cancellations.

Note: This is different from SuccessfulSingleTransactionPlanResult which represents a single successful transaction, whereas this type represents an entire plan result tree (which may contain parallel/sequential structures) where all leaf nodes are successful.

Type Parameters

Type ParameterDefault typeDescription
TContext extends TransactionPlanResultContextTransactionPlanResultContextThe type of the context object that may be passed along with successful results

See

On this page