selectPendingTransactions()
selectPendingTransactions<
T>(transactionsPool):T[]
Defined in: packages/pulsar-core/src/store/transactionsSelectors.ts:28
Returns the transactions with pending: true, oldest first.
Type Parameters
T
T extends Transaction
The application transaction type.
Parameters
transactionsPool
The transaction pool of the store.
Returns
T[]
A new array of pending transactions, sorted chronologically.
Last updated on