remote

Macro remote 

Source
macro_rules! remote {
    ($actor:ty) => { ... };
}
Expand description

Register an actor type so that it can be spawned remotely. The actor type must implement typeuri::Named, which will be used to identify the actor globally.

Example:

struct MyActor { ... }

remote!(MyActor);