Commit 81132f60 authored by tufengqi's avatar tufengqi

wait方法不返回数据 保持跟原始接口一致

parent 5d222e8e
...@@ -20,6 +20,10 @@ class ThriftAsyncDetailInstanse ...@@ -20,6 +20,10 @@ class ThriftAsyncDetailInstanse
public function wait() public function wait()
{ {
$this->promise->wait(); $this->promise->wait();
}
public function getData()
{
return $this->readResult(); return $this->readResult();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment