Home > @uniformdev/context > TransitionDataStore > handleUpdateData

TransitionDataStore.handleUpdateData() method

Updates visitor data in the transition store.

NOTE: The updated data is optimistically stored in TransitionDataStore automatically, so unless the updated data is _changed_ by the backend data store, there is no need to emit async score changed events when the visitor data is done updating.

Signature:

Parameters

ParameterTypeDescription
commandsStorageCommands[]
computedValueVisitorData

Returns:

Promise<void>