vue-async-computed icon indicating copy to clipboard operation
vue-async-computed copied to clipboard

Non-debounce option

Open norami opened this issue 6 years ago • 0 comments

Normally, async computed properties work with debouncing in the way the result of a change is not committed if other changes are triggered before the result is committed. For example, if a source property is continuously changing every 100ms and API call takes 500ms, normal async computed properties will not be changed until the change of the source property stops.

With this change set and non-debounce option, async computed properties will be updated with the last source value.

I think this behavior should be default in the next major version while non-debounce option is inevitable in most common usage.

norami avatar Sep 18 '18 06:09 norami