use chrono::NaiveTime;
use std::time::Duration;
use zzrpc::api;
#[api]
pub trait Api {
async fn hello_world(&self);
async fn add_numbers(&self, a: i32, b: i32) -> i32;
async fn concatenate_strings(&self, a: String, b: String) -> String;
async fn stream_time(&self, interval: Duration) -> impl Stream<Item = NaiveTime>;
}