[−][src]Macro stakker::after
After a delay, perform an actor call or inline code
The syntax of the calls is identical to lazy!
, but with a
Duration
argument first. Returns a FixedTimerKey
which can
be used to delete the timer if necessary using
Core::timer_del
. See also at!
.
ⓘThis example is not tested
after!(dur, ...args-as-for-lazy-macro...);
Implemented using Core::after
, Actor::apply
and
Actor::apply_prep
.