EvLoop::stop

(PECL ev >= 0.2.0)

EvLoop::stopStops the event loop

說明

public EvLoop::stop( int $how = ?): void

Stops the event loop

參數(shù)

how

One of Ev::BREAK_* constants .

返回值

沒有返回值。

參見

  • EvLoop::run() - Begin checking for events and calling callbacks for the loop
  • Ev::stop() - Stops the default event loop