From 6d59d6690c3e5afd936f067b32e9998bc834728c Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 28 Mar 2025 22:56:24 +0000 Subject: feat(filamento): disco items requests --- filamento/examples/example.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'filamento/examples/example.rs') diff --git a/filamento/examples/example.rs b/filamento/examples/example.rs index 10267bc..506d698 100644 --- a/filamento/examples/example.rs +++ b/filamento/examples/example.rs @@ -33,7 +33,8 @@ async fn main() { .unwrap(); info!("sent message"); info!("sending disco query"); - let info = client.disco_info(None).await.unwrap(); - tokio::time::sleep(Duration::from_secs(5)).await; + let info = client.disco_info(None, None).await.unwrap(); info!("got disco result: {:#?}", info); + let items = client.disco_items(None, None).await.unwrap(); + info!("got disco result: {:#?}", items); } -- cgit