Function enqueue

  • Enqueue a task to be performed in the background. Will throw an error if redis cannot be reached.

    Parameters

    • taskName: string
    • Optionalinputs: TaskInputs
    • queue: string = ...

    Returns Promise<boolean>