Skip to content

Add taskPerServerObservable utility and fromPromiseExceptionToNever

Harpo requested to merge hr/task-per-server into master

Add an observable taskPerServerObservable that runs one observable for each server. This helper ensures requests are correctly cancelled when servers are removed, are not repeated per server, and most importantly does not restart the entire chain of observables when new servers are added. Integrate this helper in a few spots where it is convenient.

Also add another helper fromPromiseExceptionToNever similar to RXJS.from except that it converts on exception into the equivalent of RXJS.never.

Merge request reports