Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Use gloo-timers for windowless sleep #1078

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Use gloo-timers for windowless sleep #1078

merged 1 commit into from
Apr 11, 2024

Conversation

benthecarman
Copy link
Collaborator

This should be safe, same sleep code that fedimint is using.

It uses setTimeout so I believe this can be used in a web worker 🚀

https://crates.io/crates/gloo-timers

@TonyGiorgio
Copy link
Contributor

needs rebase

@benthecarman benthecarman merged commit 1beaa65 into master Apr 11, 2024
9 checks passed
@benthecarman benthecarman deleted the windowless-sleep branch April 11, 2024 04:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants