Skip to Content
Packages@tuwaio/pulsar-coreFunctionsselectPendingTransactions()

selectPendingTransactions()

selectPendingTransactions<T>(transactionsPool): T[]

Defined in: store/transactionsSelectors.ts:26 

Returns the transactions with pending: true, oldest first.

Type Parameters

T

T extends Transaction

The application transaction type.

Parameters

transactionsPool

TransactionPool<T>

The transaction pool of the store.

Returns

T[]

A new array of pending transactions, sorted chronologically.

Last updated on