MartinMalinda / vue-concurrency

A library for encapsulating asynchronous operations and managing concurrency for Vue and Composition API.
https://vue-concurrency.netlify.app/
MIT License
350 stars 15 forks source link

API naming changes #24

Open MartinMalinda opened 4 years ago

MartinMalinda commented 4 years ago

vue-concurrency API initially started to be as close as possible to ember-concurrency for a few reasons:

however, there are also some challenges:

value

value is a problematic property name for a task instance because it might make it look like a value from Ref is being accessed and that's not the case. result could be a reasonable alternative

instance

It's harder to come up with a naming alternative here:

Neither of these seem great.