CCDV-F Applications & Integration MEDIUM
PRODUCTION SCENARIO
A terminal client built on the Anthropic TypeScript SDK sets stream: true and prints Claude's reply as it arrives, rather than waiting for the finished message.

Which server-sent event carries each increment of the reply?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: `content_block_delta` events

Each content block arrives as a content_block_start, then one or more content_block_delta events, then a content_block_stop, and the generated text rides in the deltas, whose delta.type is text_delta; that is what the SDK's stream.on("text") helper surfaces. message_delta reports top-level changes to the message, such as stop_reason and cumulative usage. content_block_start opens a block rather than delivering a chunk, and content_block_stop only marks a block finished, with no text attached.
Free

Keep practicing CCDV-F

105 original CCDV-F practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free