TinyBase logoTinyBase β

onDidFinishTransaction

The onDidFinishTransaction function registers a listener called just after a Store transaction completes.

onDidFinishTransaction(
  listener: TransactionListener,
  storeOrStoreId?: MaybeGetter<undefined | StoreOrStoreId>,
): void
TypeDescription
listenerTransactionListener

The function to call after transaction end.

storeOrStoreId?MaybeGetter<undefined | StoreOrStoreId>

The Store to use, or its Id.

returnsvoid

This has no return value.

Since

v8.1.0