Function Cache

  • Cache decorator (store in IndexedDB), use money-clip lib:

    Example:

    @Cache('xmla-mdx:', { maxAge: 1000 * 60 * 60, level: 3 })
    async execute(modelName: string, mdx: string, language = '', options: { skip: boolean | void }): Promise<any> {
    }

    Parameters

    Returns ((_, __, descriptor) => void)

      • (_, __, descriptor): void
      • Parameters

        • _: unknown
        • __: string
        • descriptor: PropertyDescriptor

        Returns void

Generated using TypeDoc