Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Common

Index

Type aliases

Callback

Callback: (...params: any[]) => void

Defined type for callback function. Please take note that, its returned value will be ignored.

export

Type declaration

    • (...params: any[]): void
    • Parameters

      • Rest ...params: any[]

      Returns void

IParallelFunction

IParallelFunction: (...params: any[]) => any

Job type was used in ParallelLoop.add, they need could be function or async function.

export

Type declaration

    • (...params: any[]): any
    • Parameters

      • Rest ...params: any[]

      Returns any

IQueueFunction

IQueueFunction: (...params: any[]) => Promise<any>

Job type was used in QueueLoop.add, they need to be async function. Don't try your luck with normal function

export

Type declaration

    • (...params: any[]): Promise<any>
    • Parameters

      • Rest ...params: any[]

      Returns Promise<any>

Generated using TypeDoc