vlingo-net / xoom-net-common

These are just a few common tools shared across various vlingo .NET projects.
Mozilla Public License 2.0
7 stars 9 forks source link

Task extension to ICompletes #58

Closed tjaskula closed 4 years ago

tjaskula commented 4 years ago

The should be able instead of doing async/await to send the result of Task<T> to actors Complets like :

httpClient.GetAsync(...).AndThenTo(result => do something)

The operation above returns ICompletes<T> meaning that internally AndThenTo sends a message to the actor with the result of the asynchronous operation.

tjaskula commented 4 years ago

Fixed By PR https://github.com/vlingo-net/vlingo-net-actors/commit/e961f8afc82caa2899cd8448ab78c017349f91c9