selectAllTransactions()
selectAllTransactions<
TR
,T
>(transactionsPool
):T
[]
Defined in: packages/pulsar-core/src/store/transactionsSelectors.ts:16
Selects all transactions from the pool and sorts them by their creation timestamp.
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 all transactions, sorted chronologically.
Last updated on