Sends a new message with the same type and payload. If it was a request, returns the new OutgoingRequest object for it.
(self, message)
| 1267 | return self.send_request(*args, **kwargs).wait_for_response() |
| 1268 | |
| 1269 | def propagate(self, message): |
| 1270 | """Sends a new message with the same type and payload. |
| 1271 | |
| 1272 | If it was a request, returns the new OutgoingRequest object for it. |
| 1273 | """ |
| 1274 | assert message.is_request() or message.is_event() |
| 1275 | if message.is_request(): |
| 1276 | return self.send_request(message.command, message.arguments) |
| 1277 | else: |
| 1278 | self.send_event(message.event, message.body) |
| 1279 | |
| 1280 | def delegate(self, message): |
| 1281 | """Like propagate(message).wait_for_response(), but will also propagate |
no test coverage detected