steamapi
Version:
A nice Steam API wrapper.
60 lines (30 loc) • 779 B
Markdown
[**steamapi**](../README.md)
***
[steamapi](../README.md) / CacheMap
# Interface: CacheMap\<K, V\>
Defined in: [Cache.ts:1](https://github.com/xDimGG/node-steamapi/blob/3e56810b4e484abde1e0f43153e48f61f57ece33/src/Cache.ts#L1)
## Type Parameters
### K
`K`
### V
`V`
## Methods
### get()
> **get**(`key`): `undefined` \| `V`
Defined in: [Cache.ts:2](https://github.com/xDimGG/node-steamapi/blob/3e56810b4e484abde1e0f43153e48f61f57ece33/src/Cache.ts#L2)
#### Parameters
##### key
`K`
#### Returns
`undefined` \| `V`
***
### set()
> **set**(`key`, `value`): `V`
Defined in: [Cache.ts:3](https://github.com/xDimGG/node-steamapi/blob/3e56810b4e484abde1e0f43153e48f61f57ece33/src/Cache.ts#L3)
#### Parameters
##### key
`K`
##### value
`V`
#### Returns
`V`