From 70629ed0dc950d4f1c83ef15a6b4b65700338d3d Mon Sep 17 00:00:00 2001 From: David Blajda Date: Sun, 30 Dec 2018 20:08:09 +0000 Subject: :WIP: Reworking types --- src/bin/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/bin') diff --git a/src/bin/main.rs b/src/bin/main.rs index 15b7753..9be688b 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -68,6 +68,12 @@ fn main() { () }); + let u = helix_client + .users() + .users(vec!(), vec!("freakey")) + .map(|res| {println!("{:?}", res); ()}) + .map_err(|res| {println!("{:?}", res); ()}); + /* Prevents tokio from **hanging** * since tokio::run blocks the current thread and waits for the entire runtime * to become idle but it will never becomes idle since we keep a reference @@ -75,6 +81,8 @@ fn main() { */ //std::mem::drop(authed_client); tokio::run( + u + /* clip.join(clip2) .and_then(|(c1, c2)| { println!("{:?}", c1); @@ -93,6 +101,7 @@ fn main() { }) .map(|_| ()) .map_err(|_| ()) + */ /*videos*/ ); } -- cgit v1.2.3