Mercurial > templog
diff rust/src/params.rs @ 631:c57821a60e51 rust
rust work in progress ?
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Jul 2019 18:28:34 +0800 |
parents | 3e5e52d50af5 |
children | bde302def78e |
line wrap: on
line diff
--- a/rust/src/params.rs Fri Apr 19 13:58:56 2019 +0800 +++ b/rust/src/params.rs Sat Jul 06 18:28:34 2019 +0800 @@ -141,12 +141,10 @@ }); } - #[async_stream(item = Params)] pub fn stream(config: Config, handle: Handle) -> Result<(), TemplogError> { let rcself = Rc::new(ParamWaiter::new(config, handle)); let dur = Duration::from_millis(4000); - #[async] for _ in Interval::new(dur, &rcself.handle).unwrap() { // fetch params // TODO - skip if inflight.