graphql-dotnet-dataloader icon indicating copy to clipboard operation
graphql-dotnet-dataloader copied to clipboard

Async threading issues

Open dlukez opened this issue 8 years ago • 0 comments

Began playing with this in a Web API project and came across some async threading issues.

From what I can see, nested continuations (code after await) are being executed asynchronously on another thread, which means Flush continues running in parallel, the loop condition is checked the the method returns as subsequent fetches haven't yet been queued.

dlukez avatar Nov 19 '16 01:11 dlukez