when to use async await RRS feed

  • Question

  • Looking for good example which guide me when to use async and await.

    Does aync await run the code in worker thread or main ui thread?

    Does it spawn new thread?

    From async await function can i update ui without begininvoke?

    If i write

    await f()

    await z()

    both functions run parallel? Or first await stop the execution until f() comple ?

    how to block async method as result next line method  will call after the completion of first async await method.  Just show me with code.

    please share knowledge. Thanks

    • Edited by Sudip_inn Friday, December 21, 2018 9:37 PM
    Friday, December 21, 2018 9:22 PM

All replies