#[export]Expand description
Exports handlers for this actor. The set of exported handlers
determine the messages that may be sent to remote references of
the actor ([hyperaxtor::ActorRef]). Only messages that implement
[hyperactor::RemoteMessage] may be exported.
§Example
In the following example, MyActor exports handlers for two message types,
MyMessage and MyOtherMessage. Consequently, ActorRefs of the actor’s
type may dispatch messages of these types.
ⓘ
#[export(MyMessage, MyOtherMessage)]
struct MyActor {}