Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "module/array/AsyncArray"

Index

Type aliases

AsyncArrayCallback

AsyncArrayCallback: function

异步的数组一般迭代类型

Type declaration

    • (item: T, index: number, arr: IArray): Promise<R>
    • Parameters

      • item: T
      • index: number
      • arr: IArray

      Returns Promise<R>

AsyncArrayReduceCallback

AsyncArrayReduceCallback: function

异步的 reduce 回调函数类型

Type declaration

    • (res: R, item: T, index: number, arr: IArray): Promise<R>
    • Parameters

      • res: R
      • item: T
      • index: number
      • arr: IArray

      Returns Promise<R>

Generated using TypeDoc