You don’t need to specify timeouts in C# for this scenario.
Nicolas A Perez
1

Indeed this is the issue I’m mentioning. There is a risk of dead lock and your Task will stay there forever.
Unbounded is always a smell in the code.

Like what you read? Give Joan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.