In this swoole documentation it sounds like Coroutine Clients are not recommended, instead Swoole Hooks is better to use.
What does Hyperf framework do? It looks like there are coroutine clients like hyperf/database-pgsql using Swoole\Coroutine\PostgreSQL
Is it better to use hooks or coroutine clients?
Is there a reason why it's better to use coroutine clients in the Hyperf framework?
Is it possible to use either / both? Which one should I use ?
Thank you 🙏
In this swoole documentation it sounds like Coroutine Clients are not recommended, instead Swoole Hooks is better to use.
What does Hyperf framework do? It looks like there are coroutine clients like hyperf/database-pgsql using Swoole\Coroutine\PostgreSQL
Is it better to use hooks or coroutine clients?
Is there a reason why it's better to use coroutine clients in the Hyperf framework?
Is it possible to use either / both? Which one should I use ?
Thank you 🙏