bevy_web_keepalive 0.4.0

Bevy plugins to keep a bevy app running in the browser despite not being visible
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "listener")]
mod background_listener;
#[cfg(feature = "listener")]
#[cfg_attr(docsrs, doc(cfg(feature = "listener")))]
pub use background_listener::{VisibilityChangeListenerPlugin, WindowVisibility};

#[cfg(feature = "timer")]
mod background_timer;
#[cfg(feature = "timer")]
#[cfg_attr(docsrs, doc(cfg(feature = "timer")))]
pub use background_timer::{BackgroundTimer, BackgroundTimerPlugin};

mod background_worker;
pub use background_worker::{KeepaliveSettings, WebKeepalivePlugin};