@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
12 lines • 412 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.distinctPending = distinctPending;
const rxjs_1 = require("rxjs");
const types_1 = require("../types");
/**
*
*/
function distinctPending() {
return (source) => source.pipe((0, rxjs_1.distinctUntilChanged)((a, b) => a.state === b.state && (0, types_1.isBuilderPending)(a)));
}
//# sourceMappingURL=distinct-pending.js.map
;