A developer is porting a Python service that uses AsyncAnthropic to TypeScript and looks for the matching async client class in the TypeScript SDK. What should they use?
Choose an answer to check it. Afterward, select any option to review its explanation.
The TypeScript SDK is Promise-based rather than blocking, so dropping to raw REST gains nothing; both reach the same API anyway.
Carrying the Python pattern over is natural, but AsyncAnthropic is the Python SDK's async client. The TypeScript SDK has no separate async class.
Batches solve bulk offline work at lower cost, with long turnaround. A port of an async client needs requests that still return in real time.
In TypeScript the regular Anthropic client already returns Promises, so non-blocking concurrency comes from awaiting its calls; there is no extra class to find.
id q5f17d3182b