Skip to main content

Questions tagged [async-await]

This covers the asynchronous programming model supported by various programming languages, using the async and await keywords.

44 votes
3 answers
6k views

In Memoriam Ralph H. Baer, co-inventor of the original "Simon" game, died Saturday December 6th 2014, at 92. With his passing, this friendly little challenge inadvertently became a memorial to ...
Mathieu Guindon's user avatar
28 votes
1 answer
77k views

I have a MVC WinForms application. I am using Dependency Injection with Ninject as the IoC container. ...
MoonKnight's user avatar
23 votes
2 answers
401 views

The IRubberduckParser interface has seen breaking changes, and now looks like this: ...
Mathieu Guindon's user avatar
15 votes
2 answers
5k views

Preamble I want to be able to test methods which communicate over a simple exclusively asynchronous two-way stream-like interface which may underneath use any of a number of communication methods (e....
VisualMelon's user avatar
  • 7,591
14 votes
2 answers
47k views

I am experimenting with the best way to standardise my dynamic import() expressions when importing javascript modules. import() ...
Rounin's user avatar
  • 409
14 votes
2 answers
7k views

I have been attempting to implement a cache which caches the results of an asynchronous method, with the restriction that I only want that method to run once for any particular item in the cache. Many ...
bornfromanegg's user avatar
13 votes
1 answer
27k views

I'm trying to do something like this: var loudDogs = dogs.Where(async d => await d.IsYappyAsync); The "IsYappyAsync" property would return a ...
mbursill's user avatar
  • 233
13 votes
0 answers
3k views

This is an application I wrote that allows multiple TCP clients to share a single TCP connection to a remote server (hosted project, and a demo). Traffic generated by the server is forwarded to all ...
KFL's user avatar
  • 231
12 votes
3 answers
450 views

I feel like I'm overdoing the async await stuff. I'm just learning. Maybe this isn't the best instance to be using this stuff. I have a system with sensors that detect the completion of some action....
J Dub's user avatar
  • 223
12 votes
2 answers
3k views

Tear it apart. I'm mostly concerned around the appropriate use of ConfigureAwait(false), and possible poor handling and duplication of the ...
Prescott's user avatar
  • 225
12 votes
2 answers
967 views

I've been writing a small library that allows for easy querying of the Stack Exchange websockets. I'm going to add an enum to replace the manual ...
Jeroen Vannevel's user avatar
12 votes
2 answers
17k views

I am working on creating some libraries for a project at work and I wanted to make sure I have this pattern correct. Assuming that the GetWidgets() method is what I ...
Schandlich's user avatar
11 votes
3 answers
788 views

This is my first asyncio/aiohttp web scraper. I am trying to wrap my head around Python's asyncio/aiohttp libs these days and I am not sure if I fully understand it or not yet. So I'd like have some ...
dougj's user avatar
  • 111
11 votes
2 answers
16k views

I'm just looking for feedback on correctness of my understanding of async/await. I'm curious about the Task.Run inside of the ...
jeremywho's user avatar
  • 253
11 votes
2 answers
3k views

I'm just starting to develop more in C# after being mainly a VB.NET developer and was looking for someone to critique my implementation of a NewtonSoft Json.Net serialiser. Can you provide some ...
Phil Murray's user avatar

15 30 50 per page
1
2 3 4 5
23