Conditional hypothesis
AsyncStream.aclose() → enables → Asynchronous stream cleanup
The application can use aclose() for stream cleanup if it correctly invokes the entry point when a task ends or exits abnormally. This is conditional application behavior, not a measured reduction in resource leaks.
Read the evidence
If the application correctly calls the cleanup entry point when a task ends or exits abnormally, it can use this method to perform stream cleanup;
Background sources for the article's reasoning: [S7] OpenAI
Read the full research