JobCompletionOptions: {
    emit?: boolean;
    expire?: number;
    interrupt?: boolean;
}

Type declaration

  • Optionalemit?: boolean

    default false

  • Optionalexpire?: number

    in seconds to wait before deleting/expiring job hash

    1 second
    
  • Optionalinterrupt?: boolean

    default undefined