Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
PHPDaemon
Request
Generic
registerShutdownFunction
PHPDaemon\Request\Generic::registerShutdownFunction PHP Method
Generic Class Documentation
ファイルを表示
Open project: kakserpom/phpdaemon
registerShutdownFunction()
public
method
Adds new callback called before the request finished
public
registerShutdownFunction
(
callable
$callback
) :
void
$callback
callable
return
void
public function registerShutdownFunction($callback) { $this->shutdownFuncs[] = $callback; }
Generic
__construct
__toString
abort
callInit
checkIfReady
codepoint
eventCall
finish
free
getArray
getInteger
getMixed
getString
handleException
init
isAborted
isFinished
isRunning
log
onAbort
onFinish
onSleep
onWakeup
onWrite
out
postFinishHandler
preinit
registerShutdownFunction
run
setPriority
sleep
terminate
unregisterShutdownFunction
wakeup