vlingo-net / xoom-net-actors

Type safe Actor Model toolkit for reactive concurrency and resiliency using C# and other .NET languages.
Mozilla Public License 2.0
39 stars 18 forks source link

Mailbox suspension while doing async/await #82

Closed tjaskula closed 4 years ago

tjaskula commented 4 years ago

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

tjaskula commented 4 years ago

Related to #52