• Timed method decorator

    Parameters

    • delay: number = Infinity
    • errorTimeoutConstructor: (new () => Error) = errors.ErrorContextsTimedTimeOut
        • new (): Error
        • Returns Error

    Returns ((target, key, descriptor) => TypedPropertyDescriptor<((...params) => any)>)

      • (target, key, descriptor): TypedPropertyDescriptor<((...params) => any)>
      • Parameters

        • target: any
        • key: string | symbol
        • descriptor: TypedPropertyDescriptor<((...params) => any)>

        Returns TypedPropertyDescriptor<((...params) => any)>

Generated using TypeDoc