laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.07k stars 82 forks source link

Revert #195 #205

Closed ging-dev closed 4 months ago

ging-dev commented 4 months ago

Wrapping a callback function with async() only makes sense when combined with await() or we want to return a promise. gc_collect_cycles() is a blocking function and wrapping async() does not make it non-blocking.

See: https://github.com/laravel/reverb/pull/195#issuecomment-2132613234