Query: yaz_wait
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
YAZ_WAIT(3) 1 YAZ_WAIT(3) yaz_wait - Wait for Z39.50 requests to completeSYNOPSISmixed yaz_wait ([array &$options])DESCRIPTIONThis 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).PARAMETERSo $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 VALUESReturns TRUE on success or FALSE on failure. In event mode, returns resource or FALSE on failure. PHP Documentation Group YAZ_WAIT(3)