Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 661 Bytes

File metadata and controls

20 lines (13 loc) · 661 Bytes

Async 101

This project is an intro program to show using async/await. It is time you stopped using BackgroundWorker.

It shows:

  • Not using Thread.Sleep
  • Use of IProgress
  • ConncurentQueue to accept entries from the tasks
  • Databinding to a BindingList so all you have to do is modify the list
  • and of course async/await use

How to use

  • Click in async button a few times. Drag window. Notice responsive.
  • Repeat above but while waiting for waits to end click in gui button.
  • Click generate files button a few times any time in between in async or in gui.
  • Wait till log finishes updating. CLose program. Examine the log that shows.