Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
PHPDaemon
Request
Generic
registerShutdownFunction
PHPDaemon\Request\Generic::registerShutdownFunction PHP 메소드
Generic 1 문서
파일 보기
프로젝트 열기: kakserpom/phpdaemon
registerShutdownFunction()
공개
메소드
Adds new callback called before the request finished
public
registerShutdownFunction
(
callable
$callback
) :
void
$callback
callable
리턴
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