chesslablab / chess-server

Asynchronous PHP server that provides chess services over a WebSocket connection.
https://chesslablab.github.io/chess-server/
MIT License
50 stars 24 forks source link

❓ Use `amphp/parallel` for async task #422

Closed ging-dev closed 1 week ago

ging-dev commented 1 month ago

Starting from workerman v5, it will support the Revolt event loop and be compatible with amphp v3.

programarivm commented 4 weeks ago

Thank you @ging-dev for opening this issue!

At the moment AMPHP can't be installed because of a compatibility issue with Rubix ML.

See:

The Spatie async library providing a wrapper around PHP's PCNTL extension is used in order for asynchronous commands to not block the event loop.