Yar_Concurrent_Client::loopSend all calls Description
public static boolean Yar_Concurrent_Client::loop
([ callable
$callback
[, callable $error_callback
]] )Send all registed remote RPC calls. Parameters
Return Values
ExamplesExample #1 Yar_Concurrent_Client::loop example
<?php The above example will output something similar to: Now, all requests are sent, and no any response available This is a remote call response, the method name issome_method. calling sequence is 4 string(11) "some_method" This is a remote call response, the method name issome_method. calling sequence is 1 string(11) "some_method" This is a remote call response, the method name issome_method. calling sequence is 2 string(11) "some_method" This is a remote call response, the method name issome_method. calling sequence is 3 string(11) "some_method" See Also
|