You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swow does not provide APIs related to the event loop, and it is hooked directly into stream_select so there is no need to create a separate driver for it to work.
Swow actually does provide a stream_select_unlimited() function, with the same signature than stream_select. This function is directly compatible with the underlying event loop, i.e. Swow will process events for its own code at the same time than it processes stream_select_unlimited events.
So, at least technically it should be possible to add a Swow driver. The code would need to be able to handle calls from Swow callbacks into the Revolt event loop, i.e. basically, if the revolt Swow event loop driver is currently processing a stream_select_unlimited, it would need to pick up new events.
Is it possible to add swow driver?
The text was updated successfully, but these errors were encountered: