Type alias FunctionGenerator<T>

FunctionGenerator<T>: ((context, templateProcessor?) => Promise<((...args) => Promise<any>)> | ((...args) => any))

a FunctionGenerator is used to generate functions that need the context of which expression they were called from which is made available to them in the MetaInf

Type Parameters

  • T

Type declaration

    • (context, templateProcessor?): Promise<((...args) => Promise<any>)> | ((...args) => any)
    • Parameters

      • context: T
      • Optional templateProcessor: default

      Returns Promise<((...args) => Promise<any>)> | ((...args) => any)

Generated using TypeDoc