Skip to content

Add support for coroutine functions as listener callbacks #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

theo-brown
Copy link
Owner

The Connection.add_listener(), Connection.add_log_listener() and
Connection.add_termination_listener() now allow coroutine functions as
callbacks.

Fixes: MagicStack#567.

The `Connection.add_listener()`, `Connection.add_log_listener()` and
`Connection.add_termination_listener()` now allow coroutine functions as
callbacks.

Fixes: #567.
@theo-brown theo-brown merged commit 1c0312a into theo-brown:async-callbacks Aug 9, 2021
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