Today when doing async/await inside the actor the mailbox is not suspended, meaning the actor can be delivered new message while async method is being processed. This may be problematic:
rentrante breaks actor encapsulation
state of the actor may be corrupted if used by asynchronous operation while it's being changed by new message delivery
One option is to suspend mailbox while the asynchronous operation is ongoing. This has its own set of issues
mailbox contention, may be filled up quickly if asynchronous operation is taking time
Today when doing async/await inside the actor the mailbox is not suspended, meaning the actor can be delivered new message while async method is being processed. This may be problematic:
One option is to suspend mailbox while the asynchronous operation is ongoing. This has its own set of issues