ReactDispatcherHelper
Kind: class
Helper methods for the IReactDispatcher
implementation.
Properties
JSDispatcherProperty
static
readonly
IReactPropertyName
JSDispatcherProperty
Gets name of the JSDispatcher
property for the IReactPropertyBag
.
Generally you can use IReactContext.JSDispatcher
to get the value of this property for a specific React instance.
UIDispatcherProperty
static
readonly
IReactPropertyName
UIDispatcherProperty
Gets name of the UIDispatcher
property for the IReactPropertyBag
.
Generally you can use IReactContext.UIDispatcher
to get the value of this property for a specific React instance.
UIThreadDispatcher
static
readonly
IReactDispatcher
UIThreadDispatcher
Gets or creates a IReactDispatcher
for the current UI thread.
This can be used with ReactInstanceSettings.UIDispatcher
to launch a React instance from a non-UI thread. This API must be called from a UI thread. It will return null if called from a non-UI thread.
Methods
CreateSerialDispatcher
static
IReactDispatcher
CreateSerialDispatcher
()
Creates a new serial dispatcher that uses thread pool to run tasks.