- Preparing search index...
- The search index is not available
yatter
- queue(...funs: AnyFunction<any>[]): ((init?: unknown) => Promise<unknown>)
-
Parameters
-
Rest
...funs: AnyFunction<any>[]
Returns ((init?: unknown) => Promise<unknown>)
-
- (init?: unknown): Promise<unknown>
-
Returns Promise<unknown>
创建一个排队执行函数,上一个函数的结果将传递给下一个函数作为参数
Returns
调用返回的函数,启动函数队列执行,并将参数传递给第一个函数