-
Notifications
You must be signed in to change notification settings - Fork 239
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 GetValuesAsync function #47
Comments
I think this is a pretty good idea, We should probably just change the current |
I have a patch for this ... on top of See: https://gist.github.com/mildred/19be643f54e84e31220627183f508620 |
error management is different in async mode. It may be that not everyone would want to convert to async because of that. |
Here are the commits for all the locations that needs change:
|
Just created the PR |
change was made via |
Just like there is
FindPeersAsync
, there should be a function to lookup a value in the DHT asynchronously,GetValuesAsync
. With no maximum number of records (just a cancellable context) and a channel to get the results.The text was updated successfully, but these errors were encountered: