on-headers

Execute a listener when a response is about to write headers

asap

High-priority task queue for Node.js and browsers