Skip to content

Create actor ref before spawning actor #97

Answered by Sytten
Sytten asked this question in Q&A
Discussion options

You must be logged in to vote

Hum I still need to get a clone of my service Arc outside of that spawn so not really. Not too bad, I will add an option on the service side, I was trying to avoid it but it doesn't seem possible at the moment.

So I will do

  1. Create service with None actor ref
  2. Create actor with service clone
  3. Lock service state and set actor ref

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Sytten
Comment options

@tqwewe
Comment options

@Sytten
Comment options

Answer selected by Sytten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants