iron_dotnet
iron_dotnet copied to clipboard
API methods should support the awaitable Task based Async/Await keywords
var message = await mqClient.GetAsync();
In the original IronSharp project, the API is currently only supporting awaitable calls.
If we wanted to support the possible call models (Async, Sync, FireAndForget), I thought of an idea of doing something like:
IronTask postTask = mqClient.Post(...params...);
var syncResult = postTask .Send();
var asycResult = await postTask.SendAsync();
postTask.FireAndForget();
Hey @grcodemonkey , sounds like a good idea to me. What do you think about merging the two repos and we'll add you as a committer? So we can all work off the same code.