Hullo JS
Github
Chat
Searchβ¦
Hullo JS
Hullo π
Hullo π core
Intro to Core
API
Observable
Duplex
Channel
Atom
Redux
of
combineLatest
timeout
interval
Operators
|> deepMap
|> deepMapByKey
|> distinct
|> filter
|> flatMap
|> map
|> merge
|> scan
|> state
|> subject
|> switchMap
Hullo π browser
Intro to Browser
API
Hullo π DOM
Intro to DOM
Guide
API
Hullo π Node
Intro to Node
API
Powered By
GitBook
|> merge
import { merge } from '@hullo/core'
Creates a third observable that will be releasing values of those of the source and an observable provided as an argument.
1
import
{
of
,
merge
}
from
'@hullo/core'
;
2
const
a
=
of
([
1
,
2
]);
3
const
b
=
of
([
3
,
4
]);
4
const
c
=
a
.
pipe
(
merge
(
b
));
5
c
.
subscribe
({
next
(
v
)
{
console
.
log
(
v
)
}
});
6
// prints:
7
// 1
8
// 3
9
// 2
10
// 4
Copied!
Previous
|> map
Next
|> scan
Last modified
3yr ago
Copy link