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

Fix clock example ( tokio::time::sleep -> async_std::task::sleep) #2939

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

ASR-ASU
Copy link
Contributor

@ASR-ASU ASR-ASU commented Sep 7, 2024

Make the clock example work on the web platform (tokio::time::sleep doesn't work on wasm32-unknown-unknown platform).

@ealmloff ealmloff merged commit 14a8902 into DioxusLabs:main Sep 7, 2024
15 checks passed
@ealmloff ealmloff added the example Update examples label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Update examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants