Streaming Input - Claude Docs

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