javascript - Converting code from Rxjs to xstream -


what equivalent of

return rx.observable.merge([deletetodo$, addtodo$, completetodo$]).startwith([])   .scan(function (currenttodos, modifier) { return modifier(currenttodos); }); 

the above in rxjs in xstream?

should this. initial value included second argument after function.

xs.merge(deletetodo$, addtodo$, completetodo$) .fold(function (currenttodos, modifier) { return modifier(currenttodos); }, [])


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -