parallelTransactionPlanResult
Creates a ParallelTransactionPlanResult from an array of nested results.
This function creates a parallel result indicating that the nested plans were executed in parallel.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContext extends TransactionPlanResultContext | TransactionPlanResultContext | The type of the context object that may be passed along with results |
Parameters
| Parameter | Type | Description |
|---|---|---|
plans | TransactionPlanResult<TContext, TransactionMessage & TransactionMessageWithFeePayer<string>, SingleTransactionPlanResult<TContext, TransactionMessage & TransactionMessageWithFeePayer<string>>>[] | The child results that were executed in parallel |
Returns
ParallelTransactionPlanResult<TContext>