Use Swoole coro without changing event loop
- Dominant language
- PHP
- Stars
- 11.6k
- Forks
- 2.2k
- Avg merge
- 11h 30m
- Merged PRs (30d)
- 3
Description
Hi @walkor
I understand that to use Swoole's coro I have to set using Swoole's event loop.
I do not want that, just Workerman while still using Swoole's coro, while benefiting for Workerman's extra %15 of being leightweight and further enhancements.
How to do so?
Any alternative for having similar behavior without using Swoole may be?
All what's needed is running non-blocking PHP code, and getting back the results. That's it.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, or entry points are named. Start by reviewing Workerman's event-loop integration and the Swoole coroutine requirements, then determine whether the requested combination is supported or needs a design decision. Done would be a documented supported approach or a clearly scoped alternative for non-blocking PHP execution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100