#[op2(async)]
#[string]
async fn op_sleep() -> Result<(), AnyError> { // should not block rust thread
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
Ok(())
}
#[op2(async)]
#[string]
async fn op_sleep() -> Result<(), AnyError> { // should not block rust thread
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
Ok(())
}