- timed<C, C_, P, R>(f: ((ctx: C_, ...params: P) => R), delay?: number, errorTimeoutConstructor?: (new () => Error)): ((...params: ContextAndParameters<C, P>) => R)
-
Parameters
-
f: ((ctx: C_, ...params: P) => R)
-
- (ctx: C_, ...params: P): R
-
Parameters
-
ctx: C_
-
Rest
...params: P
Returns R
-
Optional
delay: number
-
Optional
errorTimeoutConstructor: (new () => Error)
-
- new (): Error
-
Returns Error
Returns ((...params: ContextAndParameters<C, P>) => R)
-
- (...params: ContextAndParameters<C, P>): R
-
Parameters
-
Rest
...params: ContextAndParameters<C, P>
Returns R
Timed HOF This overloaded signature is external signature