Home > @uniformdev/context > TransitionDataStore > handleDelete

TransitionDataStore.handleDelete() method

Deletes a visitor's stored data, forgetting them. Important: do not emit any async score update events from this function.

Signature:

Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

fromAllDevices

</td><td>

boolean

</td><td>

(Optional) false: logout from this device ID. true: forget all data about the visitor and their identity.

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

Promise<void>