()
| 467 | |
| 468 | |
| 469 | def _show_timeout_warning() -> None: |
| 470 | global _SHOWN_TIMEOUT_WARNING |
| 471 | if not _SHOWN_TIMEOUT_WARNING: |
| 472 | _SHOWN_TIMEOUT_WARNING = True |
| 473 | message = "Warning: Timeout is not available on main browser thread" |
| 474 | js.console.warn(message) |
| 475 | |
| 476 | |
| 477 | _SHOWN_STREAMING_WARNING = False |