We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the case of a lot of data, I need to stop this iteration after I get a piece of data. But there is no way to top in the current iteration.
syncmaps.Range(func(key, value any) bool { if ok { return false } return true })
Like in sync.Map I can return false to stop the iteration
The text was updated successfully, but these errors were encountered:
@godcong this feature has been added with f4af9b5
will publish a new release soon with some more fixes
Sorry, something went wrong.
No branches or pull requests
In the case of a lot of data, I need to stop this iteration after I get a piece of data.
But there is no way to top in the current iteration.
Like in sync.Map I can return false to stop the iteration
The text was updated successfully, but these errors were encountered: