diff options
Diffstat (limited to '')
| -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);  } | 
