Does Dispatcher.BeginInvoke queues the call if it is called from the same thread?

If I have a call like:

Application.Current.Dispatcher.BeginInvoke(() => someAction);

that is called from the Dispatcher thread does it get queued to be executed later or gets it executed instantly as it does not need to change from one thread to another one?

Thanks,


Source: .net

Leave a Reply