I have a requirement with problem statement is like say, when an event gets triggered, I have to call a task completion source, using async and await. There will be multiple events occurring, and each time an event occurs this task completion has to be called. (Also there would be multiple tasks which would be occurring, and raising this task completion)
Say for e.g. there are geometric shapes and blank spaces corresponding to these shapes. When these object shapes are put in this space, an event should trigger, which raises task completion source.
So want to implement a program which uses Task Completion source, based on events occurred, Dependency Injection, System events / notifications as well to check the events completed or not.(for multiple events).
Hope I am clear with the requirements, but since the problem statement is little tricky as it involves a lot of the TPL Async concepts I tried my best to explain, hence gave analogy of the shapes game above.
Any helpful suggestions / links / recommendations would be great.
Thanks In Advance!!!..