ibase_wait_event

Wait for an event to be posted by the database

&reftitle.description; `string` `ibase_wait_event` `string` `event_name1` `string` `event_name2` `string``...` `string` `ibase_wait_event` `resource` `connection` `string` `event_name1` `string` `event_name2` `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.

&reftitle.parameters;

`event_name1`

- The event name.

`event_name2`

`...`

&reftitle.returnvalues;

Returns the name of the event that was posted.

&reftitle.seealso;

- `ibase_set_event_handler`
- `ibase_free_event_handler`