Пример #1
0
 public Task <RiakResult <RiakServerInfo> > GetServerInfo()
 {
     return(Task.Factory.StartNew(() => _client.GetServerInfo()));
 }
Пример #2
0
 public void GetServerInfo(Action <RiakResult <RiakServerInfo> > callback)
 {
     ExecAsync(() => callback(_client.GetServerInfo()));
 }