vue-async-computed
vue-async-computed copied to clipboard
Non-debounce option
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.