Skip to content

ElectronInAppPurchase.on('transactions-updated') method

ElectronInAppPurchase › on(‘transactions-updated’)

Unofficial

Registers a listener for the transactions-updated event.

Emitted when one or more transactions have been updated.

Signature:

on($event: "transactions-updated", listener: ($event: ElectronEvent, transactions: ElectronTransaction[]) => void): this

Parameters:

ParameterTypeDescription
$event"transactions-updated"
listener($event: ElectronEvent, transactions: ElectronTransaction[]) => voidThe event handler.

Returns: this — This ElectronInAppPurchase instance.