UNPKG

@tanstack/store

Version:

Framework agnostic type-safe store w/ reactive framework adapters

16 lines (15 loc) 246 B
import { startBatch, endBatch } from "./alien.js"; import { flush } from "./atom.js"; function batch(fn) { try { startBatch(); fn(); } finally { endBatch(); flush(); } } export { batch }; //# sourceMappingURL=batch.js.map