MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / realtime_stream_enabled

Function realtime_stream_enabled

packages/server/src/simulators/session.rs:590–600  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

588}
589
590fn realtime_stream_enabled() -> bool {
591 std::env::var("SIMDECK_REALTIME_STREAM")
592 .map(|value| {
593 let value = value.trim();
594 value == "1"
595 || value.eq_ignore_ascii_case("true")
596 || value.eq_ignore_ascii_case("yes")
597 || value.eq_ignore_ascii_case("on")
598 })
599 .unwrap_or(false)
600}

Callers 1

shared_refresh_intervalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected