File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2022-2023 , Optimizely
2
+ * Copyright 2022-2024 , Optimizely
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -123,6 +123,14 @@ export class VuidManager implements IVuidManager {
123
123
await cache . set ( this . _keyForVuid , vuid ) ;
124
124
}
125
125
126
+ /**
127
+ * Removes the VUID from the cache
128
+ * @param cache Caching mechanism to use for persisting the VUID outside working memory
129
+ */
130
+ async remove ( cache : PersistentKeyValueCache ) : Promise < void > {
131
+ await cache . remove ( this . _keyForVuid ) ;
132
+ }
133
+
126
134
/**
127
135
* Validates the format of a Visitor Unique Identifier
128
136
* @param vuid VistorId to check
You can’t perform that action at this time.
0 commit comments