Skip to content

PURISTA API


PURISTA API / @purista/core / StateSetterFunction

Type Alias: StateSetterFunction()

StateSetterFunction = (stateName, stateValue) => Promise<void>

Defined in: packages/core/src/core/StateStore/types/StateSetterFunction.ts:2

set a state value in the state store

Parameters

stateName

string

stateValue

unknown

Returns

Promise<void>