You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
The Async Worker is used for execution of asynchronous operations.
It is based on the <code>BackgroundWorker</code> of the .net library but simplifies usage from within code (<code>BackgroundWorker</code> is built to be used within the designer of views).
</p>
<p>
The AsyncWorker provides automatic switching back to the thread where the operation was started.
Please note that this works only if the thread from which the operation was started is associated with a thread synchronizer capable of thread switching.
This is true for example in the user interface thread.
</p>
<p>
Therefore the AsyncWorker is best used to execute operations from the user interface without blocking it and with the possibility to update the user interface on completion of the operation or to report progress.
</p>
<p>
Finally, the AsyncWorker improves the <code>BackgroundWorker</code> so that when an operation throws an exception then it is not swallowed.