IReactDispatcher provides the core threading/task management interface for ensuring that the code execution happens in the right order on the right thread.
One primary dispatcher that applications may require is the
IReactContext.UIDispatcher which provides native modules access to the UI thread associated with this React instance. Another one is the
IReactContext.JSDispatcher which allows apps to post tasks to the JS engine thread.
true if the dispatcher uses current thread.
Posts a task to the dispatcher.
callback will be called asynchronously on the thread/queue associated with this dispatcher.