MCPcopy
hub / github.com/Textualize/rich / run

Method run

rich/live.py:34–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self.done.set()
33
34 def run(self) -> None:
35 while not self.done.wait(1 / self.refresh_per_second):
36 with self.live._lock:
37 if not self.done.is_set():
38 self.live.refresh()
39
40
41class Live(JupyterMixin, RenderHook):

Callers 2

test_brokenpipeerrorFunction · 0.45

Calls 1

refreshMethod · 0.45

Tested by 1

test_brokenpipeerrorFunction · 0.36