// Copyright (c) 2022-2024, Radu Racariu.
use wasm_bindgen;
use JsFuture;
extern "C"
/// Sleep for a given number of milliseconds.
/// Uses `setTimeout` function so it integrates with the browser's or node's event loop.
pub async
/// Get the current wall-clock time in milliseconds since the Unix epoch.
///
/// Uses `Date.now()` rather than `performance.now()` — the latter is a
/// monotonic clock relative to page-load and would put time-of-day blocks
/// (Sun, Schedule, Calendar, Now) somewhere in January 1970.
pub