Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.mode-aware-cache


deletecljs

(delete mode-aware-cache key)
(delete mode-aware-cache key mode)

Parameters:

  • key: string
  • mode: ResolutionMode

Returns: ModeAwareCache<T>

**Parameters:**
- `key`: `string`
- `mode`: `ResolutionMode`

**Returns:** `ModeAwareCache<T>`
sourceraw docstring

for-eachcljs

(for-each mode-aware-cache cb)

Parameters:

  • cb: (elem: T, key: string, mode: ResolutionMode) => void

Returns: void

**Parameters:**
- `cb`: `(elem: T, key: string, mode: ResolutionMode) => void`

**Returns:** `void`
sourceraw docstring

getcljs

(get mode-aware-cache key)
(get mode-aware-cache key mode)

Parameters:

  • key: string
  • mode: ResolutionMode

Returns: T | undefined

**Parameters:**
- `key`: `string`
- `mode`: `ResolutionMode`

**Returns:** `T | undefined`
sourceraw docstring

has?cljs

(has? mode-aware-cache key)
(has? mode-aware-cache key mode)

Parameters:

  • key: string
  • mode: ResolutionMode

Returns: boolean

**Parameters:**
- `key`: `string`
- `mode`: `ResolutionMode`

**Returns:** `boolean`
sourceraw docstring

setcljs

(set mode-aware-cache key)
(set mode-aware-cache key mode)
(set mode-aware-cache key mode value)

Parameters:

  • key: string
  • mode: ResolutionMode
  • value: T

Returns: ModeAwareCache<T>

**Parameters:**
- `key`: `string`
- `mode`: `ResolutionMode`
- `value`: `T`

**Returns:** `ModeAwareCache<T>`
sourceraw docstring

sizecljs

(size mode-aware-cache)

Returns: number

**Returns:** `number`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close