array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'eventbase.gotstop.php', 1 => 'EventBase::gotStop', 2 => 'Checks if the event loop was told to exit', ), 'up' => array ( 0 => 'class.eventbase.php', 1 => 'EventBase', ), 'prev' => array ( 0 => 'eventbase.gotexit.php', 1 => 'EventBase::gotExit', ), 'next' => array ( 0 => 'eventbase.loop.php', 1 => 'EventBase::loop', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbase/gotstop.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventBase::gotStop

(PECL event >= 1.2.6-beta)

EventBase::gotStopChecks if the event loop was told to exit

说明

public EventBase::gotStop(): bool

Checks if the event loop was told to exit by EventBase::stop().

参数

此函数没有参数。

返回值

Returns true, event loop was told to stop by EventBase::stop(). Otherwise false.

参见