Sign in
cobalt
/
cobalt
/
refs/tags/trunk.unnest
/
.
/
third_party
/
devtools
/
node_modules
/
rxjs
/
_esm2015
/
internal
/
util
/
subscribeToArray.js
blob: 2693661a36c6ada610b485eca05a23c452e5a5b3 [
file
] [
log
] [
blame
]
export
const
subscribeToArray
=
(
array
)
=>
(
subscriber
)
=>
{
for
(
let i
=
0
,
len
=
array
.
length
;
i
<
len
&&
!
subscriber
.
closed
;
i
++)
{
subscriber
.
next
(
array
[
i
]);
}
subscriber
.
complete
();
};
//# sourceMappingURL=subscribeToArray.js.map