Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
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