| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
EvWatcher::keepalive(PECL ev >= 0.2.0) EvWatcher::keepalive — Configures whether to keep the loop from returning 説明
public
bool
EvWatcher::keepalive
([
bool
$value
] )
Configures whether to keep the loop from returning. With keepalive
Watchers have keepalive
Clearing keepalive status is useful when returning from Ev::run() / EvLoop::run() just because of the watcher is undesirable. It could be a long running UDP socket watcher or so. パラメータ
返り値Returns the previous state. 例例1 Register an I/O watcher for some UDP socket but do not keep the event loop from running just because of that watcher.
<?php |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「EvWatcher::keepalive - Configures whether to keep the loop from returning」をGoogle検索
|