dependabot-preview[bot] on nuget
Bump System.Configuration.Confi… (compare)
dependabot-preview[bot] on nuget
Bump NUnit from 3.7.1 to 3.13.0… (compare)
Aaronontheweb on dev
close #4454 - added full ASP.NE… (compare)
Constructor() {
Self.Tell(new Initialize());
ReceiveAsync<Initialize>(async _ => {
await Whatever();
...
Become(Ready);
});
}
void Ready() {
Receive<ActualMessages>(...);
...
}
I've been trying to figure out where the best place to do some initialisation is. PreStart
seems like the logical place, but I'm having a little trouble finding in the docs how exceptions there are handled. My actor is managing an external connection which may fail if for some reason the remote host is unavailable.
It seems like trying to connect inside of the message handler might be better as then my actor will automatically be restarted.
Self
from the PreStart
method?