yaz_syntax
YP/NIS
YAZ Functions
PHP Manual

# yaz_wait

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_wait — Executes queries

### Description

int yaz_wait ( int `$id` , string `$syntax` )

This function carries out networked (blocked) activity for outstanding requests which have been prepared by the functions yaz_connect(), yaz_search(). yaz_wait() returns when all targets have either completed all requests or otherwise completed (in case of errors).

yaz_syntax
YP/NIS
YAZ Functions
PHP Manual