Skip to main content

MAIN_THREAD_READ_TIMEOUT

Constant MAIN_THREAD_READ_TIMEOUT 

Source
const MAIN_THREAD_READ_TIMEOUT: Duration;
Expand description

How long to wait for the main thread to answer a display read before giving up. Generous enough to absorb a busy event loop, short enough that a wedged main thread degrades to “no answer” rather than stalling the caller indefinitely.