News for hackers. Stuff that matters.
Re:RxFiddle: Visualize your Observables by WorldMaker on Thursday October 12, 2017 @05:01PM (#15461293)
There are cases as well where maybe you want a linear async/await flow in the middle of an Observable flow, too.

For instance:

    let jsonStream = searchFieldChanges // observable of search field change
        .debounce(300 /* ms */) // don't do it too often
        .flatMapPromise(async (search) => {
            const request = await fetch(`${searchUrl}?query=${search}`)
            return await request.json()
        })
ETA: To reiterate the point: both tools are better together and it's not one or the other, it's like most tools finding the right one for the right job.

There are no comments on this comment yet.