diff options
author | 2025-03-28 22:56:24 +0000 | |
---|---|---|
committer | 2025-03-28 22:56:24 +0000 | |
commit | 6d59d6690c3e5afd936f067b32e9998bc834728c (patch) | |
tree | 75c9024854cb2717e2db9fdb8cedec2c5181f493 /filamento/examples | |
parent | ba5ad94525940e3e34983425961550c67afc49ae (diff) | |
download | luz-6d59d6690c3e5afd936f067b32e9998bc834728c.tar.gz luz-6d59d6690c3e5afd936f067b32e9998bc834728c.tar.bz2 luz-6d59d6690c3e5afd936f067b32e9998bc834728c.zip |
feat(filamento): disco items requests
Diffstat (limited to 'filamento/examples')
-rw-r--r-- | filamento/examples/example.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |