@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>
13 lines • 524 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.progress = progress;
const operators_1 = require("rxjs/operators");
const helpers_1 = require("../helpers");
/**
* Prints a progress message. If no message is passed, the message will be cleared.
* @param args - Arguments to pass to the `printProgress` function.
*/
function progress(...args) {
return (source) => source.pipe((0, operators_1.tap)(() => (0, helpers_1.printProgress)(...args)));
}
//# sourceMappingURL=progress.js.map
;