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

Support async message handler, add link selection to relay opts, fix handler fd lookup #8

Merged
merged 3 commits into from
May 9, 2024

Conversation

kanaka
Copy link
Member

@kanaka kanaka commented May 9, 2024

No description provided.

kanaka added 3 commits May 8, 2024 22:56
The prior method of looking up the fd number did not work in some
contexts (would get nil instead). So split the property lookup into two
steps that seems more reliable.
Use Promesa when binding the result of the message handler. This will
enable await behavior on the result if it is a Promise (otherwise the
prior sync behavior will continue to work).
@kanaka kanaka merged commit 2ddd23a into master May 9, 2024
6 checks passed
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