So I have an observable with a debounce of 300ms.
It does an API-call after a key-up event.
There's an API-lock in place to prevent future calls until it is completed, but I would also like to check if the observable is running (that's making the API call) and stop it.
How would this be accomplished?