initializeTxTrackingStore()
initializeTxTrackingStore<
T>(options):StoreSlice<IInitializeTxTrackingStore<T>>
Defined in: packages/pulsar-core/src/store/initializeTxTrackingStore.ts:18
Creates a Zustand store slice with the core logic for transaction state management.
This function is a slice creator intended for use with Zustand’s create function.
Type Parameters
T
T extends Transaction
The specific transaction type.
Parameters
options
Configuration for the store slice.
maxTransactions
number
Returns
StoreSlice<IInitializeTxTrackingStore<T>>
A Zustand store slice implementing IInitializeTxTrackingStore.
Last updated on