Task Completion Source Use Case and Demo (JS Promises in C#?) - .NET ADVANCED ESSENTIALS

preview_player
Показать описание
Learn how to use Task Completion Source in C# and observe how it is practically used. Task Completion Source is the perfect solution for transforming a callback/event based interface into an async/await interface. This is very similar to Promises in JavaScript.

Рекомендации по теме
Комментарии
Автор

Very good 👍 .... kindly upload more concepts video on c# javascript

UPSCCSE-kuej
Автор

i dont really see why you need taskcompletionsource for this. async and await keywords are enough for this usecase.

teamtosoz
Автор

Thank you for the video
Here is a request from me
Can you please do a video on how process of Wpf UI creation. I mean we have window loaded event, initialised event, we have InitialiseComponent() method. So what is order in which these fire and what is importance of each of these methods.

I belive you only can do these videos as you have a very good knowledge of WPF and it's interesting to understand all of these.
Thanks Sean 😊

VinuP
Автор

Thank you for the video, is there another way to handle error messages instead of throwing exceptions? For example, I will like to use a SFTP library to connect to remote servers an rename multiple files at once, I would like to have a way to be informed for which file renaming has failed, instead of throwing at the first failed rename. I hope I was clear enough.

mihaimyh
welcome to shbcf.ru