UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

7 lines (6 loc) • 215 B
function runWithCommitCompletion(run, onCommit) { const transaction = run(); return onCommit?.() ?? transaction.when(`settled`); } export { runWithCommitCompletion }; //# sourceMappingURL=commit-completion.js.map