actor!() { /* proc-macro */ }Expand description
Declares an actor’s manifest:
ⓘ
actor! {
ProcessActor<P: ProcessesPort + 'static> {
handlers { Kill, Refresh }
publishes { ProcessKilled }
subscribes { SettingsChanged }
}
}