UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

4 lines (3 loc) • 284 B
import { Transaction } from '../transactions.js'; /** Wait for the handler even when a rolled-back receipt settles early. */ export declare function runWithCommitCompletion<T extends object>(run: () => Transaction<T>, onCommit?: () => Promise<unknown> | undefined): Promise<unknown>;