We have .NET Console app that we're developling that when every it hits the response = await postEvents(token, events); it exits out of the function with out ever getting to responseCode = response.StatusCode;.
This all occurs in the HttpEvenCollectorSender.cs file, I'll post the whole function in question below:
I assume it's having a hard time running the function HttpEventCollectorHandler postEvents = (t, e) => { return middleware == null ? next(t, e) : middleware(t, e, next); };
I will say this function pattern I'm not familiar with, and I'm not an expert in asynchronous programming yet either.
We have .NET Console app that we're developling that when every it hits the
response = await postEvents(token, events);
it exits out of the function with out ever getting toresponseCode = response.StatusCode;
. This all occurs in the HttpEvenCollectorSender.cs file, I'll post the whole function in question below:I assume it's having a hard time running the function
HttpEventCollectorHandler postEvents = (t, e) => { return middleware == null ? next(t, e) : middleware(t, e, next); };
I will say this function pattern I'm not familiar with, and I'm not an expert in asynchronous programming yet either.