[−][src]Macro stakker::actor_new
Create a new actor
This may be used when creation and initialisation of the actor
must be done separately, for example when two actors need to be
initialised with Fwd
instances pointing to each other.
Otherwise see actor!
.
ⓘThis example is not tested
let actor = actor_new!(core, Type, notify); call!([actor, core], Type::init(arg1, arg2...));
An ActorOwn
reference is returned. Implemented using
ActorOwn::new
.