Skip to content

Create an AsyncRuntime trait #2664

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

Merged
merged 12 commits into from
Jun 16, 2025

Conversation

LarryOsterman
Copy link
Member

Creates an AsyncRuntime trait which customers can call to replace our existing async runtime.
Fixes #2506.

This consolidates the TaskSpawner trait and the functionality underlying the azure_core::sleep function into a single trait.

@github-actions github-actions bot added the Azure.Core The azure_core crate label Jun 4, 2025
@heaths heaths changed the title Fixed #2506, creating an AsyncRuntime trait Create an AsyncRuntime trait Jun 4, 2025
@LarryOsterman LarryOsterman marked this pull request as ready for review June 4, 2025 22:43
@LarryOsterman LarryOsterman marked this pull request as draft June 4, 2025 23:00
@LarryOsterman LarryOsterman marked this pull request as ready for review June 13, 2025 16:30
@LarryOsterman LarryOsterman requested a review from heaths June 13, 2025 17:06
LarryOsterman and others added 2 commits June 16, 2025 11:13
Co-authored-by: Heath Stewart <heaths@outlook.com>
@LarryOsterman LarryOsterman requested a review from heaths June 16, 2025 18:29
@LarryOsterman LarryOsterman merged commit 5d74ed4 into Azure:main Jun 16, 2025
18 checks passed
@LarryOsterman LarryOsterman deleted the larryo/async_runtime branch June 16, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redefine sleep function into async runtime trait
2 participants