huskarl-core 0.5.0

Base library for huskarl (OAuth2 client) ecosystem.
Documentation
1
2
3
4
5
6
7
8
//! Implementations for wasm32-unknown-unknown (usually web browser).

pub use web_time::{Duration, Instant, SystemTime, SystemTimeError};

/// Sleep implementation.
pub async fn sleep(duration: Duration) {
    gloo_timers::future::sleep(duration).await;
}