YAZ_WAIT(3) 1 YAZ_WAIT(3)
yaz_wait - Wait for Z39.50 requests to complete
SYNOPSIS
mixed yaz_wait ([array &$options])
DESCRIPTION
This function carries out networked (blocked) activity for outstanding requests which have been prepared by the functions yaz_connect(3),
yaz_search(3), yaz_present(3), yaz_scan(3) and yaz_itemorder(3).
yaz_wait(3) returns when all servers have either completed all requests or aborted (in case of errors).
PARAMETERS
o $options
- An associative array of options:
o timeout - Sets timeout in seconds. If a server has not responded within the timeout it is considered dead and yaz_wait(3)
returns. The default value for timeout is 15 seconds.
o event - A boolean.
RETURN VALUES
Returns TRUE on success or FALSE on failure. In event mode, returns resource or FALSE on failure.
PHP Documentation Group YAZ_WAIT(3)