Synchronizationcontext And Higher Order Functions
It’s often useful to ensure that actions occur on specific threads, in particular event handlers. Take Windows Forms for instance where all operations on a Control must occur on the thread it was created on. Typically this is not a problem since WinForms respond to events such as Click, Move, etc… These events are sourced from the same thread so it’s not an issue.