Home > @uniformdev/context > VisitorDataStore
VisitorDataStore class
Signature:
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Gets the current visitor data. This property is always up to date. | ||
|
|
boolean | ||
|
|
{ on: { <Key extends keyof VisitorDataStoreEvents>): void; }; } |
Subscribe to events from storage | |
|
|
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Deletes visitor data (forgetting them) In most cases you should use forget() on the Context instead of this function, which also clears the Context state. | ||
|
Push data update command(s) into the visitor data |