I have a situation where my code has to return a true value when a user is scrolling and if the user has not scrolled for last 5 secs then the code must return false. Now it's very easy with vanilla js - *addeventlistener and timeout*. But I want to write this using **RxJs**. Can someone help ?

```js
container.addEventListener('wheel', (e) => {
    this.holdAutoScroll = true;
  clearTimeout(this.timeOutID);
  this.timeOutID = setTimeout(() => {
    this.holdAutoScroll = false;
      }, 5000);
});

```