Skip to content

Documents for @litert/xxl-job-integration / JobRunner/Bean / IHandlerOptions

Interface: IHandlerOptions

Defined in: src/lib/JobRunner/Bean.ts:29

The options for registering a job handler.

Properties

callback

callback: IJobHandlerCallback

Defined in: src/lib/JobRunner/Bean.ts:39

The handler function that will be called when the job is executed.


maxQueueDepth?

optional maxQueueDepth: number

Defined in: src/lib/JobRunner/Bean.ts:46

How many task could be queued for the handler.

Default

ts
10

name

name: string

Defined in: src/lib/JobRunner/Bean.ts:34

The name of the job handler, which must be unique.