vtils

Home > react > CreateGlobalStateResult

CreateGlobalStateResult interface

Signature:

export declare interface CreateGlobalStateResult<S extends CreateGlobalStateState | undefined, R = never> 

Methods

Method Description
getState()  
setState(nextState)  
setStatePartial(nextState)  
watchState(callback)  
watchStateImmediate(callback)