MCPcopy Create free account
hub / github.com/microsoft/debugpy / wait_for_response

Method wait_for_response

tests/timeline.py:1088–1094  ·  view source on GitHub ↗
(self, freeze=True, raise_if_failed=True)

Source from the content-addressed store, hash-verified

1086 return super()._id + [("command", self.message.command)]
1087
1088 def wait_for_response(self, freeze=True, raise_if_failed=True):
1089 response = Response(self, some.object).wait_until_realized(freeze)
1090 assert response.observed
1091 if raise_if_failed and not response.success:
1092 raise response.body
1093 else:
1094 return response
1095
1096
1097class ResponseOccurrence(MessageOccurrence):

Callers

nothing calls this directly

Calls 2

ResponseFunction · 0.70
wait_until_realizedMethod · 0.45

Tested by

no test coverage detected