# Run-to-Completion

*noun*

say it: **“RUN too kum-PLEE-shun”** **/rʌn tu kəmˈpliʃən/**

The rule that once a piece of JavaScript starts running, it finishes before any other callback can start, so nothing interrupts it halfway.

## What is **Run-to-Completion** in JavaScript?

**Run-to-Completion** — The rule that one JavaScript job finishes before another job begins on the same agent.

## In a sentence

- “Because of **run-to-completion**, my timer couldn't fire in the middle of the function that updates the score.”
- “**Run-to-completion** means a click handler always finishes before the next click is handled.”

Level: Master · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=5)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/run-to-completion
