public Task <RiakResult <IEnumerable <string> > > ListBuckets() { return(Task.Factory.StartNew(() => _client.ListBuckets())); }
public void ListBuckets(Action <RiakResult <IEnumerable <string> > > callback) { ExecAsync(() => callback(_client.ListBuckets())); }