pantomime-rs / pantomime

MIT License
5 stars 1 forks source link

Periodic delivery signature #19

Closed longshorej closed 5 years ago

longshorej commented 5 years ago
    pub fn schedule_periodic_delivery<F: Fn() -> Msg, S: AsRef<str>>(
        &mut self,
        name: S,
        interval: Duration,
        msg: F,
    )

should be

    pub fn schedule_periodic_delivery<F: Fn() -> Msg, S: AsRef<str>>(
        &mut self,
        name: S,
        initial_timeout: Duration,
        interval: Duration,
        msg: F,
    )
longshorej commented 5 years ago

Fixed in #45