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

checkAndInitializeTrackerInStore()

checkAndInitializeTrackerInStore<T>(params): Promise<void>

Defined in: utils/checkAndInitializeTrackerInStore.ts:32 

Starts solanaTrackerForStore when tracker is TransactionTracker.Solana. Any other tracker logs an error and marks the transaction Failed (without calling onError). pulsarSolanaAdapter uses it as checkAndInitializeTrackerInStore.

Type Parameters

T

T extends Transaction

The application transaction type.

Parameters

params

object & TrackerCallbacks<T> & Pick<ITxTrackingStore<T>, "updateTxParams" | "removeTxFromPool" | "transactionsPool">

The tracker, the transaction, the store members and the callbacks.

Returns

Promise<void>

A promise that resolves once polling has started.

Last updated on