ghostzero / tmi

PHP Twitch Messaging Interface
MIT License
24 stars 8 forks source link

Allow using other implementations of ReactPHP's LoopInterface #10

Closed nayleen closed 2 years ago

nayleen commented 2 years ago

I'm using Amp for a project of mine, which uses a different EventLoop implementation.

Luckily enough they provide an adapter for ReactPHP's event loop.

LMK if the ClientOptions class is the appropriate place to put the override, or if you'd prefer a second parameter in the Client's constructor. Neither should amount to a BC break.

Looking forward to using TMI 👍