---
url: https://haihv.github.io/valifetch/api/index/variables/stop.md
---

# Variable: stop

> `const` **stop**: unique `symbol`

Defined in: [src/core/stop.ts:8](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/core/stop.ts#L8)

Sentinel returned from a `beforeRetry` hook to abort the retry loop.

Registered globally via `Symbol.for` so the CJS and ESM builds share a single
identity — a plain `Symbol()` would produce two distinct values and `return
stop` would be silently ignored for consumers that mix module formats.
