Skip to content

Commit 8d36c5b

Browse files
committed
made changes to some comments
1 parent 7aca2e2 commit 8d36c5b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/datafile-manager/src/persistentKeyValueCache.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,21 @@
1616

1717
/**
1818
* An Interface to implement a persistent key value cache which supports strings as keys
19-
* and string or JSON Object as value.
19+
* and JSON Object as value.
2020
*/
2121
export default interface PersistentKeyValueCache {
2222

2323
/**
2424
* Returns value stored against a key or null if not found.
2525
* @param key
2626
* @returns Promise which resolves with a
27-
* 1. String if the value found is a string.
28-
* 2. Object if value found was stored as a JSON Object.
29-
* 3. null if the key does not exist in the cache.
27+
* 1. Object if value found was stored as a JSON Object.
28+
* 2. null if the key does not exist in the cache.
3029
*/
3130
get(key: string): Promise<Object | null>
3231

3332
/**
34-
* Stores value in the persistent cache against a key
33+
* Stores Object in the persistent cache against a key
3534
* @param key
3635
* @param val
3736
*/

0 commit comments

Comments
 (0)