commit | 2a02c511260e7d0651de4fccc9cf0d1d2fa8b6cc | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Mon Sep 13 18:23:09 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 14 03:46:15 2021 +0000 |
tree | 9575cc0c0d1ac9857d5421cdb0204be8b983317a | |
parent | 5ebdaeb1d246dc8f1bff83a35b733a63121322c1 [diff] |
pw_rpc: Replace existing client calls in RegisterCall This updates the RPC client to replace (cancel) an existing call when a new one is started for the same RPC instead of failing. This is consistent with the Python client and expected user behavior (calling an RPC with the same context should replace the first). Change-Id: Idb5096a19b83b291cbb714204bc11be5eaa47947 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60820 Pigweed-Auto-Submit: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev