ParallelRunCallbacks Method |
Namespace: DigitalRune.Threading
It is possible to specify a completion callbacks when starting a new tasks. For example, see method Start(Action, Action). The completion callbacks are executed when the corresponding tasks have completed. However, the callbacks are not executed immediately! Instead, the method RunCallbacks needs to be called manually to invoke the callbacks.
This method is not re-entrant. It is suggested to call the method only on the main thread.