macro_rules! remote {
($actor:ty) => { ... };
}
Expand description
Register an actor type so that it can be spawned remotely. The actor
type must implement crate::data::Named
, which will be used to identify
the actor globally.
Example:
ⓘ
struct MyActor { ... }
remote!(MyActor);