IStateUpdateResult Interface

Packages > @fluidframework/react > IStateUpdateResult

The value returned by state update functions.

Signature:

export interface IStateUpdateResult<SV extends IViewState, SF extends IFluidState, C extends IFluidDataProps> 

Properties

List of properties of this interface
Property Type Description
newFluidHandles IFluidHandle[] Any new Fluid objects that were added in due this function need to have their corresponding handles passed in so that the object can also be loaded for all other users
state ICombinedState The new view and Fluid states that were updated by the function

Events

newFluidHandles

Any new Fluid objects that were added in due this function need to have their corresponding handles passed in so that the object can also be loaded for all other users

Signature:

newFluidHandles?: IFluidHandle[];

state

The new view and Fluid states that were updated by the function

Signature:

state: ICombinedState<SV, SF, C>;