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
@@ -246,26 +246,26 @@ Finally it creates a new ``AddTwoInts`` request object.
246
246
self.get_logger().info('service not available, waiting again...')
247
247
self.req = AddTwoInts.Request()
248
248
249
-
Below the constructor is the ``send_request`` method, which will send the request and spin until it receives the response or fails.
249
+
Below the constructor is the ``send_request`` method, which will send the request and return a future that can be passed to ``spin_until_future_complete``:
Finally we have the ``main`` method, which constructs a ``MinimalClientAsync`` object, sends the request using the passed-in command-line arguments, and logs the results.
258
+
Finally we have the ``main`` method, which constructs a ``MinimalClientAsync`` object, sends the request using the passed-in command-line arguments, calls ``spin_until_future_complete``, and logs the results:
0 commit comments