# How do a throttle form an input

**URL:** <https://forums.bitovi.com/t/how-do-a-throttle-form-an-input/233>\
**Category:** CanJS\
**Created:** [April 17, 2016, 12:13pm UTC](https://forums.bitovi.com/t/how-do-a-throttle-form-an-input/233 "2016-04-17T12:13:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pYr0x](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/pyr0x/32/95_2.png) [@pYr0x](https://forums.bitovi.com/u/pYr0x)\
**Post date:** [April 17, 2016, 12:13pm UTC](https://forums.bitovi.com/t/how-do-a-throttle-form-an-input/233/1 "2016-04-17T12:13:31Z")

</div>

i want do make a can.Component. this component is an easy input field. i want to use the new 2.3 binding syntax and have a debounce for the input inputs.

how can i do that?

my questions are also:

- should i use streams?
- is this repo [https://github.com/canjs/can-eventstream](https://github.com/canjs/can-eventstream) usable?
- can is use this repo? [https://github.com/canjs/can-control-modifier](https://github.com/canjs/can-control-modifier) or this [https://github.com/canjs/can-util-function](https://github.com/canjs/can-util-function)
- or is there a better way to do this with the define plugin?

is canjs in a position to work with [RxJS](http://reactivex.io/)? how can this look like? or is there a big gap between the compute technology and streams?

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [April 18, 2016, 3:24pm UTC](https://forums.bitovi.com/t/how-do-a-throttle-form-an-input/233/2 "2016-04-18T15:24:00Z")

</div>

Our eventstream stuff is a little outdated, no one’s been maintaining it. There’s not a big gap between streams and computes, they work very well together imo. So you can definitely use RxJS with canjs, but I don’t know if it’s needed in this scenario. If you want to debounce an input why not use lodash which has a debounce?
