monorepo-shared-assets
Version:
Shared assets used by various packages from nodemonorepo
12 lines • 386 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function* untilUnchange(init, callback, equal = Object.is) {
yield init;
const next = callback(init);
if (equal(init, next))
return;
yield* untilUnchange(next, callback, equal);
}
exports.untilUnchange = untilUnchange;
exports.default = untilUnchange;
//# sourceMappingURL=index.js.map
;