nfultz / grpc

gRPC clients and servers in R
72 stars 24 forks source link

WIP get timeout from R options #31

Closed ReDressCodes closed 2 years ago

ReDressCodes commented 4 years ago

This patch is yet to be tested.

Made the PR for any possible comments anyway.

ReDressCodes commented 4 years ago

Finally got around to testing this out.

Setting 'timeout' to zero, via the option 'grpc.timeout' means no response from the server. Calling a client twice does break the server, though.

It is admittedly a bit hard to document this, probably because the change is too minor but it looks to me like running devtools::document() and Rcpp::CompileAttributes() should update both documents and C++ exports to R.