/// <summary> /// Enqueues UI block to be executed. /// </summary> /// <param name="block">The UI block.</param> public void AddUIBlock(IUIBlock block) { _operationsQueue.EnqueueUIBlock(block); }
/// <summary> /// Enqueues UI block to be executed on dispatcher thread associated with a react tag hint. /// </summary> /// <param name="block">The UI block.</param> /// <param name="tag">Optional react tag hint that triggers the choice of the dispatcher thread that executes the block .</param> public void AddUIBlock(IUIBlock block, int?tag) { _operationsQueue.EnqueueUIBlock(block, tag); }