Documentation

SwooleEvent
in package
implements EventInterface

Table of Contents

Interfaces

EventInterface

Methods

__construct()  : mixed
add()  : mixed
clearAllTimer()  : mixed
del()  : mixed
destroy()  : mixed
getTimerCount()  : mixed
loop()  : mixed

Methods

__construct()

public __construct([bool $debug = false ]) : mixed
Parameters
$debug : bool = false

测试用

Tags
throws
EventLoopException

如果没有启用拓展

add()

public add(mixed $fd, mixed $flag, mixed $func[, mixed $args = [] ]) : mixed
Parameters
$fd : mixed
$flag : mixed
$func : mixed
$args : mixed = []
Tags
inheritdoc

clearAllTimer()

public clearAllTimer() : mixed
Tags
inheritdoc

del()

public del(mixed $fd, mixed $flag) : mixed
Parameters
$fd : mixed
$flag : mixed
Tags
inheritdoc

getTimerCount()

public getTimerCount() : mixed
Tags
inheritdoc

loop()

public loop() : mixed
Tags
inheritdoc
codeCoverageIgnore

忽略覆盖


        
On this page

Search results