Streaming Input - Claude Code Docs

Understanding the two input modes for Claude Agent SDK and when to use each