Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-02-03 14:54:38 +08:00
parent 8296cda1f2
commit 4d6f7d1d13
3 changed files with 60 additions and 5 deletions
+3 -2
View File
@@ -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();
}