euv-core 0.45.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
use super::*;

thread_local! {
    /// Reusable no-op rejection callback attached to browser Fullscreen API Promises so denied gestures never emit unhandled rejections.
    pub(crate) static WEB_PROMISE_NOOP_REJECT: Closure<dyn FnMut(JsValue)> =
        Closure::wrap(Box::new(|_: JsValue| {}) as Box<dyn FnMut(JsValue)>);
}