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

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

commands

</td><td>

StorageCommands[]

</td><td>

</td></tr> <tr><td>

computedValue

</td><td>

VisitorData

</td><td>

</td></tr> </tbody></table> Returns:

Promise<void>