We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there, I think it would be great to have a possibility to send messages async. Maybe do it configurable.
Because right now you are sending the message inside a Task, but you are waiting on it to finish.
Task
Which practically makes it sync.
# Serilog.Sinks.Graylog/Transport/Udp/UdpTransportClient.cs public void Send(byte[] payload) { Task resultTask = Task.Run(() => { using (var udpClient = new UdpClient()) { udpClient.SendAsync(payload, payload.Length, _target); } }); resultTask.Wait(); }
I would love to contribute to it. Maybe we could remove the wait or not according to configuration by user
thanks!
The text was updated successfully, but these errors were encountered:
+1 on this. Any consideration?
Sorry, something went wrong.
I can do it, but after migate to new VS project files
implemented
No branches or pull requests
Hi there, I think it would be great to have a possibility to send messages async. Maybe do it configurable.
Because right now you are sending the message inside a
Task
, but you are waiting on it to finish.Which practically makes it sync.
I would love to contribute to it. Maybe we could remove the wait or not according to configuration by user
thanks!
The text was updated successfully, but these errors were encountered: