Skip to content

Sending messages directly between actors #4991

Answered by with-heart
Ghirigoro asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah currently the only official way to handle that is to do what you're doing and send an event to the actor's parent machine and handle sending it on from there.

I like the trick you discovered with system.schedule though. Makes me wonder if that couldn't be wrapped up in a cleaner api to make actors created by actor creators a more active part of the system they're in.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@Ghirigoro
Comment options

@with-heart
Comment options

Answer selected by Ghirigoro
@Ghirigoro
Comment options

@davidkpiano
Comment options

@Ghirigoro
Comment options

@davidkpiano
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants