Options
All
  • Public
  • Public/Protected
  • All
Menu

Interfaces

Functions

Functions

asyncLimiting

  • asyncLimiting<Fn>(fn: Fn, __namedParameters?: object): Fn

包装一个异步函数为有限制并发功能的函数

Type parameters

Parameters

  • fn: Fn

    异步函数

  • __namedParameters: object = {} Default value
    • limit: number

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