MCPcopy
hub / github.com/urllib3/urllib3 / is_worker_available

Function is_worker_available

src/urllib3/contrib/emscripten/fetch.py:427–428  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425
426
427def is_worker_available() -> bool:
428 return hasattr(js, "Worker") and hasattr(js, "Blob")
429
430
431_fetcher: _StreamingFetcher | None = None

Callers 2

fetch.pyFile · 0.85
_show_streaming_warningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected