Open grcodemonkey opened 9 years ago
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.
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: