Skip to content
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

feat: return useful promise for accessor.revalidate and fetchNext #71

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

jason89521
Copy link
Owner

Description

For NormalAccessor, revalidate now will return the promise which can be the data or null. It will be null when it is deduped.

InfiniteAccessor will return an array contains each page. Also, the fetchNext will return the same promise now.

Related Issue

#54

@jason89521 jason89521 merged commit 58d84e3 into main Jun 16, 2023
1 check passed
@jason89521 jason89521 deleted the feat/return-useful-promise branch June 16, 2023 09:46
@jason89521 jason89521 linked an issue Jun 16, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accessor.revalidate should return a useful promise
1 participant