Is it possible to create a Dispatcher for the current thread? Check this sample code as an example of what I want to accomplish:
Dispatcher