diff options
author | David Blajda <blajda@hotmail.com> | 2018-12-30 20:08:09 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2018-12-30 20:08:09 +0000 |
commit | 70629ed0dc950d4f1c83ef15a6b4b65700338d3d (patch) | |
tree | 0060290b9d1a5b19e137a31ba387150fccff639e /src/bin | |
parent | 96a500350c29106e87bc22839c502e98459b4cb0 (diff) |
:WIP: Reworking types
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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*/ ); } |