Skip to content
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

Protocols do not support async callbacks #405

Merged

Conversation

josephine-wolf-oberholtzer
Copy link
Member

Protocol callbacks are synchronous. If you need to orchestrate async code with them, use them to set futures / events.

@josephine-wolf-oberholtzer josephine-wolf-oberholtzer marked this pull request as ready for review September 23, 2024 17:16
@josephine-wolf-oberholtzer josephine-wolf-oberholtzer merged commit 63be8c7 into main Sep 23, 2024
11 checks passed
@josephine-wolf-oberholtzer josephine-wolf-oberholtzer deleted the protocols-do-not-support-async-callbacks branch September 23, 2024 17:16
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.

1 participant