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 signal decorator #14

Merged
merged 1 commit into from
Oct 19, 2023
Merged

add timeout signal decorator #14

merged 1 commit into from
Oct 19, 2023

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Oct 18, 2023

This is needed for cases when we want a with statement decorator to timeout (and throw an exception) after a particular amount of time has passed (e.g., waiting for a spot instance request that is unlikely to be fulfilled

This is needed for cases when we want a with statement
decorator to timeout (and throw an exception) after
a particular amount of time has passed (e.g., waiting
for a spot instance request that is unlikely to be
fulfilled

Signed-off-by: vsoch <[email protected]>
@vsoch vsoch merged commit 1dbf926 into main Oct 19, 2023
@vsoch vsoch deleted the add/timeout-signal branch October 19, 2023 01:20
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.

1 participant