aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js b/node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js
new file mode 100644
index 0000000..2cb9f1d
--- /dev/null
+++ b/node_modules/rxjs/dist/esm5/internal/util/subscribeToArray.js
@@ -0,0 +1,7 @@
+export var subscribeToArray = function (array) { return function (subscriber) {
+ for (var i = 0, len = array.length; i < len && !subscriber.closed; i++) {
+ subscriber.next(array[i]);
+ }
+ subscriber.complete();
+}; };
+//# sourceMappingURL=subscribeToArray.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage