Crates.io | adaptive_sleep |
lib.rs | adaptive_sleep |
version | 0.1.0 |
source | src |
created_at | 2021-11-22 16:16:26.811847 |
updated_at | 2021-11-22 16:16:26.811847 |
description | Small library to pause current thread with an increasing sleep time |
homepage | |
repository | https://gitlab.com/w0lff/adaptive-sleep |
max_upload_size | |
id | 485749 |
size | 4,801 |
Small library to pause current thread with an increasing sleep time. The time to wait increases linearly at the beginning and at a certain amount of time it increases exponentially.