⌨️Async Hook
Also known as async: true, asyncRewake
A command hook that runs in the background while Claude goes on.
Think of it like
It is like you start the washing machine. Then you do other jobs.
Example
Jack's tests take two minutes. As an async hook after each write, they run while Claude goes on, and the results arrive on the next turn.
Why it matters
A slow check no longer stalls every edit.
Definition
Example code
json
{
"type": "command",
"command": "./run-tests.sh",
"async": true
}Common mistake
Key takeaways
- 1Runs in the background. Claude goes on.
- 2Results next turn. As context.
- 3Cannot block. Too late.