Merge branch 'master' into flub/send-backup

This commit is contained in:
Floris Bruynooghe
2023-02-15 14:46:57 +01:00
51 changed files with 477 additions and 443 deletions

View File

@@ -86,6 +86,11 @@ impl CommandApi {
#[rpc(all_positional, ts_outdir = "typescript/generated")]
impl CommandApi {
/// Test function.
async fn sleep(&self, delay: f64) {
tokio::time::sleep(std::time::Duration::from_secs_f64(delay)).await
}
// ---------------------------------------------
// Misc top level functions
// ---------------------------------------------