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 fscontext.AfterDelayFunc function #537

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 16, 2024

Add fscontext.AfterDelayFunc function

This is useful in scenarios where a context gets canceled, but the code bound to the lifetime of the context does not return within a reasonable time. AfterDelayFunc can be used to try exit the code more aggressively.

@copybara-service copybara-service bot added the exported Exported change from internal source label Oct 16, 2024
@copybara-service copybara-service bot changed the title Add fscontext.AfterFuncDelayed function Add fscontext.AfterFuncDelayed function Oct 16, 2024
@copybara-service copybara-service bot force-pushed the cl/686477044 branch 2 times, most recently from 266062c to 6cdde2a Compare October 16, 2024 14:33
@copybara-service copybara-service bot changed the title Add fscontext.AfterFuncDelayed function Add fscontext.AfterDelayFunc function Oct 16, 2024
This is useful in scenarios where a context gets canceled, but the code bound to the lifetime of the context does not return within a reasonable time. `AfterDelayFunc` can be used to try exit the code more aggressively.

PiperOrigin-RevId: 686503282
@copybara-service copybara-service bot merged commit 188f43b into master Oct 16, 2024
@copybara-service copybara-service bot deleted the cl/686477044 branch October 16, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Exported change from internal source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant