Yar_Concurrent_Client::loopSend all calls 説明
public static bool Yar_Concurrent_Client::loop(callable
$callback = ?, callable $error_callback = ?)Send all registed remote RPC calls. パラメータ
戻り値
例例1 Yar_Concurrent_Client::loop example
<?php 上の例の出力は、 たとえば以下のようになります。 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" 参考
|