Replies: 1 comment 2 replies
-
Ok to update here, I chose to go with an EDIT: Would also love to know what happens on restart? What if there's messages already in the mailbox... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering what's the best way to init an actor which needs some data from a db before it starts working.
I had assumed just put the db calls into the PreStart() method but I notice it's not async and I also do not see much info about what happens if an exception is thrown in the PreStart() method. So basically I'm wondering if there is a better/more correct way to do this simple thing?
Beta Was this translation helpful? Give feedback.
All reactions