Represents the reference to an object method used for websocket routes and outbounds.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Creates an instance of DecorableFunction.

    Parameters

    • objConfig: {
          propertyKey: string;
          target: any;
      }

      The configuration object for the object method.

      • propertyKey: string

        The property key of the target object.

      • target: any

        The target object.

    Returns DecorableFunction

Properties

objConfig: {
    propertyKey: string;
    target: any;
}

The configuration object for the object method.

Type declaration

  • propertyKey: string
  • target: any

Accessors

  • get Func(): ((...data) => any)
  • Returns the decorated function.

    Returns ((...data) => any)

    • The decorated function.
      • (...data): any
      • Returns the decorated function.

        Parameters

        • Rest ...data: any[]

        Returns any

        • The decorated function.

Methods

Generated using TypeDoc