Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/wwwroot/mifepriston.org/node_modules/rxjs/operator/ |
Upload File : |
"use strict"; var combineAll_1 = require('../operators/combineAll'); /** * Converts a higher-order Observable into a first-order Observable by waiting * for the outer Observable to complete, then applying {@link combineLatest}. * * <span class="informal">Flattens an Observable-of-Observables by applying * {@link combineLatest} when the Observable-of-Observables completes.</span> * * <img src="./img/combineAll.png" width="100%"> * * Takes an Observable of Observables, and collects all Observables from it. * Once the outer Observable completes, it subscribes to all collected * Observables and combines their values using the {@link combineLatest} * strategy, such that: * - Every time an inner Observable emits, the output Observable emits. * - When the returned observable emits, it emits all of the latest values by: * - If a `project` function is provided, it is called with each recent value * from each inner Observable in whatever order they arrived, and the result * of the `project` function is what is emitted by the output Observable. * - If there is no `project` function, an array of all of the most recent * values is emitted by the output Observable. * * @example <caption>Map two click events to a finite interval Observable, then apply combineAll</caption> * var clicks = Rx.Observable.fromEvent(document, 'click'); * var higherOrder = clicks.map(ev => * Rx.Observable.interval(Math.random()*2000).take(3) * ).take(2); * var result = higherOrder.combineAll(); * result.subscribe(x => console.log(x)); * * @see {@link combineLatest} * @see {@link mergeAll} * * @param {function} [project] An optional function to map the most recent * values from each inner Observable into a new result. Takes each of the most * recent values from each collected inner Observable as arguments, in order. * @return {Observable} An Observable of projected results or arrays of recent * values. * @method combineAll * @owner Observable */ function combineAll(project) { return combineAll_1.combineAll(project)(this); } exports.combineAll = combineAll; //# sourceMappingURL=combineAll.js.map