- Preparing search index...
- The search index is not available
actionhero
- enqueue(taskName: string, inputs?: TaskInputs, queue?: string): Promise<boolean>
-
Parameters
-
taskName: string
-
Optional
inputs: TaskInputs
-
queue: string = ...
Returns Promise<boolean>
Enqueue a task to be performed in the background. Will throw an error if redis cannot be reached.