Interface DefaultOptions<CustomHeaders>

interface DefaultOptions<CustomHeaders extends Record<string, any> = AnyHeaders> {
    headers?: CustomHeaders;
    numberOfHandlers?: number;
}

Type Parameters

  • CustomHeaders extends Record<string, any> = AnyHeaders

Properties

headers?: CustomHeaders

Job meta information, used to pass specific information for jobs handlers

numberOfHandlers?: number

Indicates the number of handlers that must be successfully processed to consider the job as successfully processed