Swoole\Server->on('afterreload', fn)
-
Swoole
-
Swoole Docs
-
Server
-
Swoole\Server->on('afterreload', fn)
Declaration
<?php
Swoole\Server->on('afterreload', callback $callback)
Parameters
- event
The event name
- callback
callback function
Return
- success
if success, it returns TRUE, otherwise it returns FALSE.
Since version 4.5.0
Description
Callback function when after the code reloading.
Example
Newsletter
Join 1,000s others and never miss out on new tips, tutorials, and more.
Subscribe Now