A pipe function for rxjs 6+ which emits a three-state 'async-request' with a typed loading/success/error status object
A common use case for consuming streams is displaying a loading animation, the data itself on success or a failure message when it errors. This pipe is meant to reduce boiler-plate to a minimum and expose these three states in an easy to consume way.
this.httpQuery$ = this.http.get"./api/text".pipeasAsyncRequest;this.httpQuery$.subscribe;
it gets even better when binding in views like in angular with the async pipe: