Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

countTime

  • countTime(fn: function): number
  • countTime(fn: function): Promise<number>

统计函数的执行时间

Parameters

  • fn: function
      • (): void
      • Returns void

Returns number

Parameters

  • fn: function
      • (): Promise<void>
      • Returns Promise<void>

Returns Promise<number>

  • 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.