{"name":"cancelQueued","slug":"cancelqueued","family":"setting","title":"Settings keys","noun":"settings key","description":"SDK interrupt can now cancel queued messages and tells you which ones it cancelled.","description_source":"entry","described_by":{"version":"2.1.242","anchor":"sdk-interrupt-can-cancel-queued-messages-and-reports-which-o"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.307","released_at":"2026-10-21 20:47:18","spans":1}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"cancel-queued-handling-on-stop-and-send-now-cut","heading":"Stopping a turn now passes the cancel-queued choice along","line":"When a turn is stopped locally or cancelled remotely, Claude Code now runs an extra step that uses the cancelQueued option and the message queue","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"headless-interrupt-can-requeue-the-taken-message","heading":"Interrupting headless Claude Code puts the current message back in the queue","line":"In headless and SDK use, an interrupt without `cancelQueued` now puts the message being handled back in the queue instead of dropping it","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.242","anchor":"sdk-interrupt-can-cancel-queued-messages-and-reports-which-o","heading":"SDK interrupt() can cancel queued messages and reports which ones","line":"SDK interrupt can now cancel queued messages and tells you which ones it cancelled.","released_at":"2026-08-24 19:16:14","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/cancelqueued","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}