Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Decorators

Functions

Interfaces

Functions

initLoxer

  • This class decorator initializes the Loxer immediately when the before the class is used. Use this if the initialization has to be done fast.


    Parameters

    • options: LoxerOptions

      the options for the Loxer.init(options: LoxerOptions) method

    Returns void

    a class decorator

trace

  • This decorator wraps a class level method inside a Loxer.open() and a Loxer.of(...).close() box.


    Parameters

    • Optional options: TraceOptions | string

      either a string for the moduleId or an object of type TraceOptions

    Returns function

    a Decorator for class level methods

      • (target: any, propertyKey: string, descriptor: PropertyDescriptor): any
      • Parameters

        • target: any
        • propertyKey: string
        • descriptor: PropertyDescriptor

        Returns any

Generated using TypeDoc