Function enqueue

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

    Parameters

    • taskName: string
    • Optional inputs: TaskInputs
    • queue: string = ...

    Returns Promise<boolean>