You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> > Maybe a new function like `ConstantBuilder::unlimited` would be better for this?
Seems not a good idea to me. I plan to add a FnBuilder that accept a function which will return the next delay like the following:
let f = FnBuilder::new(|| Some(Durtion::from_secs(1)));
What do you think?
It should follow the principle of least surprise. User of library shouldn't look into the implementation to find out what function will do. I've spent some time finding out why it nearly instantly exits with such setup:
It should follow the principle of least surprise. User of library shouldn't look into the implementation to find out what function will do. I've spent some time finding out why it nearly instantly exits with such setup:
Originally posted by @0xdeafbeef in #48 (comment)
The text was updated successfully, but these errors were encountered: