The Agent Added an Await to a Synchronous Function. The Caller Didn't Notice.
DEV Community
The Agent Added an Await to a Synchronous Function. The Caller Didn't Notice.
When an AI agent adds async/await to a function that didn't need it, the type system often doesn't catch the break — only the runtime does. Here's the pattern and the cheap guard.
0 comments
No comments yet.