vue-async-computed
vue-async-computed copied to clipboard
Async computed properties for Vue.js
At some point in my component I wanted to do this: ```js export const { methods: { mymethod() { this.$options.data // Does not raise error const originalData = this.$options.data() //...
In regular computed i can write ``` computed: { message: { get () { return this.$store.state.obj.message }, set (value) { this.$store.commit('updateMessage', value) } } } ``` but there "set" seems...
I'm playing around with this library in Vue 3 but am getting new Promises back instead of the resolved state. Is there anyone else out there using this library within...
Sorry for a noob question, but how do I use it with Nuxt?
`PluginFunction` should be `PluginFunction`, otherwise the following code will not satisfy TS checks: ```ts import Vue from "vue"; import AsyncComputed from "vue-async-computed"; Vue.use(AsyncComputed, {}) ```  `never` means "this function...
Can you provide onCancel method as a parameter? ```js asyncComputed: { sum (onCancel) { const total = this.x + this.y return new Promise(resolve => const timer = setTimeout(() => resolve(total),...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
When throwing an Error inside the `get ()` method of the asyncComputed, the component's registered `errorCaptured` handler is not being called. Can/Should this be added? ```js errorCaptured: (err, vm, info)...