MCPcopy Index your code
hub / github.com/RustPython/RustPython / wait

Method wait

Lib/_pyrepl/console.py:139–143  ·  view source on GitHub ↗

Wait for an event. The return value is True if an event is available, False if the timeout has been reached. If timeout is None, wait forever. The timeout is in milliseconds.

(self, timeout: float | None)

Source from the content-addressed store, hash-verified

137
138 @abstractmethod
139 def wait(self, timeout: float | None) -> bool:
140 """Wait for an event. The return value is True if an event is
141 available, False if the timeout has been reached. If timeout is
142 None, wait forever. The timeout is in milliseconds."""
143 ...
144
145 @property
146 def input_hook(self) -> Callable[[], int] | None:

Callers 1

handle1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected