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

Add sync token set/get methods #1299

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Add sync token set/get methods #1299

merged 1 commit into from
Sep 30, 2024

Conversation

CahidArda
Copy link
Contributor

@CahidArda CahidArda commented Sep 30, 2024

Adds set and get methods for upstashSyncToken used for RYW added in #1175

const redis = new Redis(...)

const syncToken = redis.readYourWritesSyncToken;

const newSyncToken = "my-new-sync-token";
redis.readYourWritesSyncToken = newSyncToken;

@buggyhunter buggyhunter merged commit d949397 into main Sep 30, 2024
14 checks passed
@buggyhunter buggyhunter deleted the read-your-writes-get-set branch September 30, 2024 22:00
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.

3 participants