IReactDispatcher
IReactDispatcher provides the core threading / task management interface for ensuring code happens in the right order on the right thread. One primary dispatcher that applications may require is the UIDispatcher which provides NativeModules access to the UI thread accociated with this react instance. Another one is the JSDispatcher which allows apps to post tasks to the JS engine thread.
Reference
Methods
Post
void Post(ReactDispatcherCallback callback);
Post a task to the dispatcher. This callback will be called asynchronously on the thread / queue associated with this dispatcher.
Properties
HasThreadAccess
bool HasThreadAccess { get; }
True if the dispatcher uses current thread.