Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

repeatedCall

  • repeatedCall<Fn>(num: number, fn: Fn, ...args: Parameters<Fn>): ReturnType<Fn> []

重复执行指定的函数

Type parameters

Parameters

  • num: number

    重复的次数

  • fn: Fn

    执行的函数,如果是异步函数,则返回 Array.

  • ...args: Parameters<Fn> Rest

    参数

Returns ReturnType<Fn> []

执行返回结果

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.