Task stays idle on unhandled exception
I've encountered a bug. My code:
<script>
...
remove: t(function*() {
try {
yield fetch('http://domain.not.exists')
} catch (e) {
this.handleError(e)
}
}).flow('drop'),
...
</script>
<template>
{{remove.isActive}}
</template>
Every time fetch('http://domain.not.exists') throws an exception I see error in console but task remains active so remove.isActive === true
Maybe I'm using vuency wrongly?
hi @progand. this plugin has not been updated in over a year (and has not been well maintained in general), so I would not recommend using it! sorry if that caused any hassle, perhaps I should archive repo?
@alidcastano I was wondering why did you abandoned ency. Do you think people don't need it? Can you recommend something similar to ency/vuency?
well for one, i'm using react now :) but also, using lodashs throttle and debounce goes a long way for most people. and libraries like apollo (if you're using graphql) now handle setting loading state well in response to mutations
Just chiming in here to say that https://github.com/MartinMalinda/vue-concurrency is maintained and actively used, at least by me, at work :-)