Yar_Concurrent_Client::callRegister a concurrent call 説明
public static int Yar_Concurrent_Client::call(
string $uri ,string $method ,array $parameters = ?,callable $callback = ?,callable $error_callback = ?,array $options = ?) Register a RPC call, but won't sent it immediately, it will be send while further call to Yar_Concurrent_Client::loop パラメータ
戻り値An unique id, can be used to identified which call it is. 例例1 Yar_Concurrent_Client::call example
上の例の出力は、 たとえば以下のようになります。 参考
|