Skip to content

Conversation

@benbrandt
Copy link
Member

Expose AbortSignal and closed Promise on AgentSideConnection and
ClientSideConnection to allow detection of connection closure. The
signal can be used with event listeners or passed to other APIs for
cancellation, while the closed promise enables async/await style cleanup
when the stream ends.

Expose AbortSignal and closed Promise on AgentSideConnection and
ClientSideConnection to allow detection of connection closure. The
signal can be used with event listeners or passed to other APIs for
cancellation, while the closed promise enables async/await style cleanup
when the stream ends.
@benbrandt benbrandt merged commit 205747a into main Oct 24, 2025
2 checks passed
@benbrandt benbrandt deleted the await-stream-close branch October 24, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants