Home > @uniformdev/context > TransitionDataStore > updateData
TransitionDataStore.updateData() method
Updates data in the transition storage.
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
commands
</td><td>
</td><td>
Commands to execute against existing stored value (event based stores)
</td></tr> <tr><td>
computedValue
</td><td>
</td><td>
Pre-computed new value against existing value (object based stores)
</td></tr> </tbody></table> Returns:
Promise<void>
Resolved promise when the data has been updated