"\n";
},
'hello-coroutine',
'',
false,
true
);
$client->run\n";
};
Worker::runAll();
```
- Run command `php receive.php start`.
### 在workerman環(huán)境中使用publish
>'', 'hello-coroutine');
echo " [x] Sent '$message'\n";
});
};
Worker::runAll();
```
- Run'',
false,
true
);
});
};
Worker::runAll();
```
- Runthen(function (Client $client) {
$client->disconnect();
});
};
Worker::runAll();
```
- Run