UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

9 lines (8 loc) • 332 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function runWithCommitCompletion(run, onCommit) { const transaction = run(); return onCommit?.() ?? transaction.isPersisted.promise; } exports.runWithCommitCompletion = runWithCommitCompletion; //# sourceMappingURL=commit-completion.cjs.map