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
It is sometimes necessary to find the time taken by the client call, but finding it for an async call is hard at application level because the response might have come much before the result() inspection is done.
I propose adding another param to Response ctor here:
self.finish_timestamp=time.time()
Which can then be read by application logic, eg. :
It is sometimes necessary to find the time taken by the client call, but finding it for an async call is hard at application level because the response might have come much before the
result()
inspection is done.I propose adding another param to Response ctor here:
Which can then be read by application logic, eg. :
Which shows that
finish_timestamp
was recorded beforeresult()
(the blocking call) was called.The text was updated successfully, but these errors were encountered: