Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueueSchedulerListener

Hierarchy

Index

Methods

  • error(error: Error): void
  • Listen to 'error' event.

    This event is triggered when an exception is thrown.

    Parameters

    • error: Error

    Returns void

  • failed(jobId: string, failedReason: Error, prev: string): void
  • Listen to 'failed' event.

    This event is triggered when a job has thrown an exception.

    Parameters

    • jobId: string
    • failedReason: Error
    • prev: string

    Returns void

  • ioredis:close(): void
  • stalled(jobId: string, prev: string): void
  • Listen to 'stalled' event.

    This event is triggered when a job gets stalled.

    Parameters

    • jobId: string
    • prev: string

    Returns void

Generated using TypeDoc