Using the Fetch API with RxJS - story of a bug

1 · Milosz Piechocki · June 21, 2022, 7:50 p.m.
Some time ago I encountered an interesting bug at work. I believe solving this bug was a great excercise in RxJS fundamentals, therefore I decided to tell you about it.ContextMy colleague was implementing a polling mechanism using RxJS. His solution was similiar to the one described in my blog post abot polling. For the sake of this article, let’s assume he wrote the following code. It starts a long running backend operation (an analysis) by sending a POST call and subseqently polls for the stat...