# AnyJobQueueWorker interface · @imqueue/job

Source: https://imqueue.org/api/job/latest/job.anyjobqueueworker/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/job 3.0.3 — generated reference, not hand-written

The consuming half of a queue: something that can be given a handler to run against each job.

`T` is the implementing type, returned for chaining; `U` is the job body type.

**Signature:**

```typescript
export interface AnyJobQueueWorker<T, U> 
```

## Methods


| Method | Description |
| --- | --- |
| [onPop(handler)](https://imqueue.org/api/job/latest/job.anyjobqueueworker.onpop/) | Registers the handler for jobs popped from this queue, replacing any handler already set, and returns this queue. |

