Skip to Content
API referencePulsar CoreSrcType AliasesPulsarAdapter<T>

@tuwaio/pulsar-core-monorepo


PulsarAdapter<T>

PulsarAdapter<T> = OrbitGenericAdapter<TxAdapter<T>> & object & SyncCallbacks<T>

Defined in: packages/pulsar-core/src/types.ts:255 

The configuration object containing one or more transaction adapters.

Type Declaration

abortOnTxError?

optional abortOnTxError?: boolean

Optional setting to abort the transaction if the beforeTxProcess hook or remote creation fails. Defaults to true.

beforeTxProcess?

optional beforeTxProcess?: BeforeTxProcess

Optional global preflight callback executed before every transaction unless locally overridden.

gelatoApiKey?

optional gelatoApiKey?: string

maxTransactions?

optional maxTransactions?: number

Type Parameters

T

T extends Transaction

The specific transaction type.

Last updated on