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