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

Add EventLoop::Socket module #14643

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented May 29, 2024

Extracts the system interface for Socket operations on the event loop to a EventLoop module.

This implements part of crystal-lang/rfcs#7

Related: #14639 does the same for FileDescriptor

Copy link
Contributor

@ysbaddaden ysbaddaden left a comment

Choose a reason for hiding this comment

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

Same few typos in the docs as reported in RFC 7, otherwise 👍

@straight-shoota straight-shoota added this to the 1.13.0 milestone May 31, 2024
straight-shoota added a commit that referenced this pull request Jun 27, 2024
The `timeout` parameter of `system_connect` has an implict type restriction of `Time::Span?` and we need to convert numeric arguments. This fixes a regression introduced in #14643.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants