opened
mdbetancourt
username_0
Hello i wanna add an addon to vue use to use rxjs like

```ts
import { useSubscription, from, fromEvent, toObserver } from "@vueuse/rx"
import { interval, Subject } from "rxjs"
import { takeUntil, mapTo } from "rxjs/operators"

...
const button = ref<HtmlButtonElement>(null)
// or
const button = new Subject()
const couter = ref<number>(0)

useSubscrition( // it allows auto unsubscribe
  interval(1000).pipe(
    takeUntil(fromEvent(button, 'click')),
//or
    takeUntil(button),
    mapTo(1),
  ).subscribe(toObserver(counter))
)
...
```
```html
<button ref="button" />
or
<button @click="button.next" />
```
i wanna add a @vueuse/rx addon
issue
created
antfu
username_1
Welcome, please go ahead and draft an PR, let me know if you need any help. Thanks
comment
closed
antfu
username_1
issue