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

Method _wait_until_realized

tests/timeline.py:190–200  ·  view source on GitHub ↗
(
        self, expectation, freeze=None, explain=True, observe=True
    )

Source from the content-addressed store, hash-verified

188 self.freeze()
189
190 def _wait_until_realized(
191 self, expectation, freeze=None, explain=True, observe=True
192 ):
193 def has_been_realized():
194 for reasons in expectation.test(self.beginning, self.last):
195 if observe:
196 self.expect_realized(expectation, explain=explain, observe=observe)
197 return reasons
198
199 reasons = self.wait_until(has_been_realized, freeze)
200 return latest_of(reasons.values())
201
202 def wait_until_realized(self, expectation, freeze=None, explain=True, observe=True):
203 if explain:

Callers 3

wait_until_realizedMethod · 0.95
wait_forMethod · 0.95
wait_for_nextMethod · 0.95

Calls 3

wait_untilMethod · 0.95
latest_ofFunction · 0.85
valuesMethod · 0.80

Tested by

no test coverage detected