| 185 | } |
| 186 | |
| 187 | bool remote_subscription::is_pending() const { |
| 188 | std::scoped_lock its_lock(mutex_); |
| 189 | for (auto its_client : clients_) { |
| 190 | if (its_client.second.first == remote_subscription_state_e::SUBSCRIPTION_PENDING) { |
| 191 | return true; |
| 192 | } |
| 193 | } |
| 194 | return false; |
| 195 | } |
| 196 | |
| 197 | bool remote_subscription::is_acknowledged() const { |
| 198 | std::scoped_lock its_lock(mutex_); |
no outgoing calls
no test coverage detected