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

[Core] Generic sleep function #39469

Open
l0lawrence opened this issue Jan 29, 2025 · 1 comment
Open

[Core] Generic sleep function #39469

l0lawrence opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
Azure.Core Core.Http feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@l0lawrence
Copy link
Member

l0lawrence commented Jan 29, 2025

For places where we asyncio.sleep within core, and in other SDK packages such as azure-cosmos or azure-communication-identity we should replace this with a generic sleep function that works with both asyncio and trio/other transports.

This will prevent us from having to import asyncio outside of core except in special cases.

@l0lawrence l0lawrence added Azure.Core Core.Http feature-request This issue requires a new behavior in the product in order be resolved. labels Jan 29, 2025
@l0lawrence
Copy link
Member Author

l0lawrence commented Jan 29, 2025

I can implement?

@l0lawrence l0lawrence self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Core.Http feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant