[**Documentation**](../../../README)

***

[Documentation](../../../README) / [zerotal](../../README) / [queue](../README) / BatchStatus

# Type Alias: BatchStatus

> **BatchStatus** = `"pending"` \| `"complete"` \| `"failed"`

Defined in: [packages/queue/src/drivers/QueueDriver.ts:20](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/queue/src/drivers/QueueDriver.ts#L20)

Result of recording a batch job outcome.
- `'pending'`  — batch still has unfinished jobs
- `'complete'` — all jobs finished, none failed
- `'failed'`   — all jobs finished, one or more failed
