Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -56,14 +56,15 @@ class CoroutineTaskExecute extends Component
|
||||
*/
|
||||
protected function handler()
|
||||
{
|
||||
Coroutine\defer(function () {
|
||||
$this->handler();
|
||||
});
|
||||
$data = $this->channel->pop(-1);
|
||||
|
||||
$task = new Task();
|
||||
$task->data = $data;
|
||||
|
||||
$this->taskServer->onCoroutineTask(null, $task);
|
||||
|
||||
$this->handler();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user