Options
All
  • Public
  • Public/Protected
  • All
Menu

@jerryc/super-cache

Index

Classes

Functions

Object literals

Functions

addLog

  • addLog(log: any): void

initStorage

  • initStorage(ins: any, storage: any): void

Object literals

Const adapterDefaultOptions

adapterDefaultOptions: object

Adapter Default Options

typeof

{Object} AdapterOptions

property

{boolean} [ignoreCache=false] - 是否忽略缓存

property

{boolean} [updateCache=true] - 是否在数据返回之后更新缓存

property

{optionsBeforeGet} [beforeGet=undefinded] - 在调用 adapter 获取数据之前的钩子方法

beforeGet

beforeGet: undefined = undefined

ignoreCache

ignoreCache: boolean = false

updateCache

updateCache: boolean = true

Const innerLog

innerLog: object

debug

  • debug(title: any, message: any, data: any): void

error

  • error(title: any, message: any, error: any): void

info

  • info(title: any, message: any, data: any): void

warn

  • warn(title: any, message: any, data: any): void

Generated using TypeDoc