Skip to content

Conversation

@Lubrsi
Copy link
Contributor

@Lubrsi Lubrsi commented Nov 21, 2025

This is part of the process of removing event loop spinning from the codebase.

@Lubrsi Lubrsi requested a review from alimpfard as a code owner November 21, 2025 17:29
@Lubrsi Lubrsi force-pushed the remove-await-from-libdns branch from 26dd7b4 to dd30452 Compare November 21, 2025 19:22
Copy link
Contributor

@alimpfard alimpfard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lot of moving stuff around, but nothing weird sticks out so 🤷 refactor LGTM at least.

Copy link
Contributor

@konradekk konradekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not read the contents carefully; just nitpicking (as usual from me).

};

TRY_OR_FAIL(resolver.when_socket_ready()->await());
auto when_socket_ready_promise = resolver.when_socket_ready();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

socket_ready/socket_readiness or socket_is_ready? (when_ is the resolution part; _promise is unnecessary in typed environment? same for names below?)

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.

3 participants