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

Adding a done callback on IOFuture #80

Open
jakirkham opened this issue Jun 2, 2022 · 0 comments
Open

Adding a done callback on IOFuture #80

jakirkham opened this issue Jun 2, 2022 · 0 comments

Comments

@jakirkham
Copy link
Member

As synchronization might be quite expensive, one common strategy a user might want to employ is adding a callback to their IOFutures. This could be done using an API like concurrent.futures.Future.add_done_callback. IOW call the callback with the IOFuture as an object. This way the result or exception could be gotten and operated on if needed without blocking.

vuule pushed a commit to vuule/kvikio that referenced this issue Nov 8, 2023
Fix pop from empty call stack in profiler
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

No branches or pull requests

1 participant