Reset the internal flag to ``False``. Calls to `.wait` will block until `.set` is called.
(self)
| 222 | fut.set_result(None) |
| 223 | |
| 224 | def clear(self) -> None: |
| 225 | """Reset the internal flag to ``False``. |
| 226 | |
| 227 | Calls to `.wait` will block until `.set` is called. |
| 228 | """ |
| 229 | self._value = False |
| 230 | |
| 231 | def wait( |
| 232 | self, timeout: Optional[Union[float, datetime.timedelta]] = None |
no outgoing calls