executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
php-concurrencyImplement concurrency and non-blocking I/O in modern PHP. Use when implementing concurrent requests, async processing, or non-blocking I/O in PHP.
Independent GitHub snapshot · Automated classification · Original documentation governs
See implementation examples for directory layout.
new Fiber() for low-level cooperative multitasking.Fiber::suspend('paused') to yield execution back to caller.$fiber->resume('hello') to continue execution. Catch exceptions via $fiber->getReturn().See implementation examples for Fiber cooperative multitasking code.
Loop::get() to access event loop.react/http or Guzzle Pool($client, ...) for concurrent requests.file_get_contents or sleep() inside Fiber or EventLoop.Loop::run() at your application entry point to start async loop.See implementation examples for concurrent HTTP requests with Guzzle Pool.
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Do not share mutable,connection state,Bound concurrency
Use Guzzle pool for concurrent requests,guzzle
Pool($client
do not call blocking file_get_contents,non-blocking I/O
Additional task-grounded exact anchors: Loop::get(); separate PDO connection