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

Add timeout wrapper for any callback interface #587

Closed
wants to merge 1 commit into from

Conversation

marcooliveira
Copy link

This solves #429 (comment).

Enables timing out a callback interface by wrapping the function and preventing it from being called after it has timed out.

@aearly aearly added the feature label May 21, 2015
@oshybystyi
Copy link

vote for that 👍

@aearly
Copy link
Collaborator

aearly commented Oct 25, 2015

You can reopen this if you resolve the merge conflicts. Also, the docs don't give a clear example of how this can be used. Do you wrap the callback, or the whole async function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants