fix(client): Use Stream instead of TrySteam for client calls (#61)

This commit is contained in:
Juan Alvarez
2019-10-10 11:39:35 -04:00
committed by Lucio Franco
parent 8cddf8a12c
commit 7eda823c9c
5 changed files with 16 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("FEATURE = {:?}", response);
let outbound = async_stream::try_stream! {
let outbound = async_stream::stream! {
let mut interval = Interval::new_interval(Duration::from_secs(1));
while let Some(time) = interval.next().await {