Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
399 bytes
|
Line | |
---|
1 | import { Observable } from '../Observable';
|
---|
2 | import { subscribeToArray } from '../util/subscribeToArray';
|
---|
3 | import { scheduleArray } from '../scheduled/scheduleArray';
|
---|
4 | export function fromArray(input, scheduler) {
|
---|
5 | if (!scheduler) {
|
---|
6 | return new Observable(subscribeToArray(input));
|
---|
7 | }
|
---|
8 | else {
|
---|
9 | return scheduleArray(input, scheduler);
|
---|
10 | }
|
---|
11 | }
|
---|
12 | //# sourceMappingURL=fromArray.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.