Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async version of SendTicket #1

Open
venjirai opened this issue Jul 7, 2021 · 0 comments
Open

Async version of SendTicket #1

venjirai opened this issue Jul 7, 2021 · 0 comments

Comments

@venjirai
Copy link

venjirai commented Jul 7, 2021

Could the SendTicket method also be made available to return a Task?

public async Task<ITicketResponse> SendTicket(ITicket ticket)

So it can be used like
var response = await SendTicket(ticket);
without having to use the blocking method which blocks the thread or using the event listeners where we need a mapping to return the MTS response to a REST request that initiated the call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant