Hi,
Most my stuff is reactive and async and Actors seems to be perfect to fit
the bill with an exception of a certain legacy I/O. It has to be handled
within Actor itself and it might take from seconds to even an hour to
complete.
So what is the best way to handle that within an Actor, can I
Hello Andy!
Indeed, you'll want to avoid blocking in an actor's receive method - so if
you have blocking io stuff, you should definitely push it out into a
Future, to unblock the Actor.
If you block in an Actor’s receive, it won’t be able to process any other
message until it’s done with this