Different HTTP calls, await same Task
问题 I have a Task which starts a win process, which generates file if its not created yet and returns it. The problem is that the action is called more than once. To be more precisely its src attribute of a <track> element. I have ConcurrentDictionary<Guid, Task<string>> which keeps track of for which Id a process is currently running public async Task<string> GenerateVTTFile(Guid Id) { if (_currentGenerators.TryGetValue(id, out Task<string> task)) { return await task; // problem is here? } var t