square / svelte-store

528 stars 35 forks source link

debounce/throttle #22

Closed multiplehats closed 2 years ago

multiplehats commented 2 years ago

How would one use debounce/throttle when using asyncWritable? Currently sending requests to an API and the asyncWritable triggers on an input with bind:value because I have a 3rd argument set.

Akolyte01 commented 2 years ago

Could I get a few more specifics of your current setup and what you are attempting? I'm not sure I follow

multiplehats commented 2 years ago

Never mind, I figured it out. I took the wrong approach at designing my store.

All good now!