Skip to content

Conversation

@RazorBest
Copy link
Contributor

@RazorBest RazorBest commented Aug 12, 2025

Implement the function create_listener, for pycdp.twisted, so the user can cancel it.

Remove _CLOSE_SENTINEL, because you can directly use Deferred.close to achieve the same effect.

Added tests for CDPEventListener.

There's still an isssue with the internal state. I don't know what should happen when aiter(listener) is called multiple times.

@RazorBest RazorBest changed the title Expose closeable event listener Expose closeable event listener in twisted Aug 12, 2025
@HMaker
Copy link
Owner

HMaker commented Oct 3, 2025

I think we should squash all commits into a single commit for better review and merging. Rebase your branch onto main and squash all the commits.

Thanks for your work.

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