You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something that seems to be missing is setting a deadline for a request. I can see that setting an infinite deadline is hardcoded into client.cc, but to my (limited) understanding, other grpc implementations (namely Go) take an infinite deadline to mean there isn't a deadline.
Is there a clean way that we can integrate deadlines into this implementation?
in the examples at grpc/grpc, python uses syntax like this (source):
Something that seems to be missing is setting a deadline for a request. I can see that setting an infinite deadline is hardcoded into
client.cc
, but to my (limited) understanding, other grpc implementations (namely Go) take an infinite deadline to mean there isn't a deadline.Is there a clean way that we can integrate deadlines into this implementation?
in the examples at
grpc/grpc
, python uses syntax like this (source):Noting that the syntax for python appears to be emitted from the python protobuf compiler, but that doesn't happen from
cl-protobufs
.For CL, I suppose an equivalent would look like this
An alternative (and admittedly the first one I thought of) syntax for CL could use lexical variables:
Thoughts? Am I missing on how to use deadlines in this library? If not, how can we implement it?
The text was updated successfully, but these errors were encountered: