Implementing PostStart in #Akka
This question comes up every now and then, and my answer has since the first time, been refined, so I thought I’d give the answer here.
“How do I run some initialization logic in the thread of the dispatcher and not the creator of the actor?”
I present to you, PostStart:
If you can’t see the code, click here