Home > @uniformdev/context > Context > forget
Context.forget() method
Forgets the visitor's data and resets the Context to its initial state.
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>
for an identified user, whether to delete all their data (for the entire account) - true, or data for this device (sign out) - false
</td></tr> </tbody></table> Returns:
Promise<void>