Type Definitions
init(err)
The queue start callback.
The queue start callback
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | null | if an error occurs |
task(value, next)
The task.
The task
Parameters:
Name | Type | Description |
---|---|---|
value |
* | value which is the previous task next(value)' argument,if the fist task, it should be undefined |
next |
function | The function call next task |