Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Interop
Async
Loop
Driver
cancel
Interop\Async\Loop\Driver::cancel PHP Method
Driver Class Documentation
Show file
Open project: async-interop/event-loop
cancel()
abstract
public
method
This will detatch the event loop from all resources that are associated to the watcher. After this operation the watcher is permanently invalid. Calling this function MUST NOT fail, even if passed an invalid watcher.
abstract
public
cancel
(
string
$watcherId
) :
void
$watcherId
string
The watcher identifier.
return
void
public abstract function cancel($watcherId);
Driver
cancel
defer
delay
disable
enable
getHandle
getState
info
onReadable
onSignal
onWritable
reference
repeat
run
setErrorHandler
setState
stop
unreference