Skip to Content
API referencePulsar CoreSrcComponentsselectPendingTransactions()

@tuwaio/pulsar-core-monorepo


selectPendingTransactions()

selectPendingTransactions<T>(transactionsPool): T[]

Defined in: packages/pulsar-core/src/store/transactionsSelectors.ts:24 

Selects all transactions that are currently in a pending state, sorted chronologically.

Type Parameters

T

T extends Transaction

The transaction type.

Parameters

transactionsPool

TransactionPool<T>

The entire transaction pool from the store.

Returns

T[]

An array of pending transactions.

Last updated on