# Task Queue

*noun*

say it: **“TASK KYOO”** **/tæsk kju/**

The line where callbacks wait, such as a finished timer's or a click's, until the event loop gives each one its turn to run.

## What is **Task Queue** in JavaScript?

**Task Queue** — A queue of callbacks waiting to run as event-loop tasks.

## In a sentence

- “When the two-second timer finished, its callback went into the **task queue** and waited for the loop to end.”
- “Three clicks landed in the **task queue** while the page was busy, and they all ran once it was free.”

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/task-queue
