Home > @uniformdev/context > Context > forget
Context.forget() method
Forgets the visitor's data and resets the Context to its initial state.
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
fromAllDevices | boolean | for an identified user, whether to delete all their data (for the entire account) - true, or data for this device (sign out) - false |
Returns:
Promise<void>