Skip to content

Conversation

dallaylaen
Copy link
Contributor

@dallaylaen dallaylaen commented Jun 6, 2023

Redis's *SCAN methods are quite cumbersome to use in Perl. This wrapper abstracts away the cursor handling and calls a user-specified callback exactly once per key.

The callback is always expected as the LAST argument as that makes reading the resulting code easier.

@dallaylaen dallaylaen changed the title Add scan_callback method to iterate over keys comfortably Add scan_callback, hscan_callback, and sscan_callback method to iterate over keys comfortably Nov 18, 2023
@dams
Copy link
Member

dams commented Nov 19, 2023

nice, thanks!

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.

2 participants