# EventBase::stop

(PECL event >= 1.2.6-beta)

EventBase::stop — Tells event_base to stop dispatching events

### 说明

public EventBase::stop(): bool

Tells event_base to stop dispatching events

### 参数

此函数没有参数。

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- EventBase::exit() - Stop dispatching events
- EventBase::gotStop() - Checks if the event loop was told to exit

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open