selectPendingTransactions()
selectPendingTransactions<
TR
,T
>(transactionsPool
):T
[]
Defined in: packages/pulsar-core/src/store/transactionsSelectors.ts:27
Selects all transactions that are currently in a pending state.
Type Parameters
TR
TR
The type of the tracker identifier.
T
T
extends Transaction
<TR
>
The transaction type.
Parameters
transactionsPool
TransactionPool
<TR
, T
>
The entire pool of transactions from the store.
Returns
T
[]
An array of pending transactions.
Last updated on