-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: add resolve method for async computed #7881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: build/v2
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 73e92e9 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This PR is to discuss as it adds new public API for async computed |
d84bb2a
to
73e92e9
Compare
commit: |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
error: Error | null; | ||
loading: boolean; | ||
// (undocumented) | ||
resolve(): Promise<void>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make it return the value
Async
resolve
function has been added. It should be used to avoid reruning code beforeasynccomputed.value
during resolving a promise