crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.21k stars 1.61k forks source link

Unify `EventLoop.create` #14661

Closed straight-shoota closed 3 weeks ago

straight-shoota commented 1 month ago

Unifies all platform-specific implementations of EventLoop.create into a single method. This makes it more comprehensible which event loop implementation is used on which target. This will be handy when we introduce new event loop implementations and select them at runtime.