Wait for an event to be posted by the database

# ibase_wait_event

(PHP 5, PHP 7 < 7.4.0)

ibase_wait_event — Wait for an event to be posted by the database

### Description

ibase_wait_event(string `$event_name`, string `...$event_names`): string
ibase_wait_event(resource `$connection`, string `$event_name`, string `...$event_names`): string

This function suspends execution of the script until one of the specified events is posted by the database. The name of the event that was posted is returned. This function accepts up to 15 event arguments.

### Parameters

`event_name`
  The event name.
`event_names`

### Return Values

Returns the name of the event that was posted.

### See Also

- ibase_set_event_handler() - Register a callback function to be called when events are posted
- ibase_free_event_handler() - Cancels a registered event handler

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