Implement internal cancellation for SCAN via WithCancellation by mgravell · Pull Request #2911 · StackExchange/StackExchange.Redis

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@mgravell

Copy link Copy Markdown

Collaborator

@mgravell mgravell commented

Jul 17, 2025

edited

Loading

SCAN enumeration currently only kicks in when issuing new page requests, which may have significant delay; here we:

  • check the token during sync fetch
  • support proper cancellation during async fetch
  • add supporting documentation

@mgravell mgravell merged commit cf9f659 into main

Jul 21, 2025

1 of 5 checks passed

@mgravell mgravell deleted the async-iter-cancel branch

July 21, 2025 09:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@mgravell