Methods |
---|
Constructor
new Cache()
- Source:
Extends
Methods
delete(key, key)
Parameters:
Name | Type | Description |
---|---|---|
key |
string | |
key |
- Inherited From:
- Source:
get(key, defaultValue) → {*|undefined}
Parameters:
Name | Type | Description |
---|---|---|
key |
any | |
defaultValue |
any | returned only in case undefined would be returned |
- Inherited From:
- Source:
Returns:
value to store, or undefined in the default value is missing
set(key, value)
Parameters:
Name | Type | Description |
---|---|---|
key |
string | |
value |
string |
- Inherited From:
- Source: