[][src]Macro stakker::timer_min

macro_rules! timer_min {
    ( $inst:expr, $($x:tt)+ ) => { ... };
}

Create a "Min" timer

A "Min" timer expires at the smallest (earliest) expiry time provided. Returns a MinTimerKey which can be used to update the expiry time or delete the timer using Core::timer_min_mod or Core::timer_min_del.

The syntax of the calls is identical to call!, but with an Instant argument first.

This example is not tested
timer_min!(instant, ...args-as-for-call-macro...);

Implemented using Core::timer_min_add, Actor::apply and Actor::apply_prep.