vuse-rx
Version:
First-class rxjs support for Vue 3
10 lines • 473 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.untilUnmounted = exports.pipeUntil = void 0;
const operators_1 = require("rxjs/operators");
const vue_1 = require("vue");
const from_1 = require("../hooks/from");
const pipeUntil = (hook) => (0, operators_1.takeUntil)((0, from_1.fromHook)(hook));
exports.pipeUntil = pipeUntil;
exports.untilUnmounted = (0, exports.pipeUntil)(vue_1.onUnmounted);
//# sourceMappingURL=until.js.map