workflow_egui/runtime/mod.rs
1cfg_if::cfg_if! {
2 if #[cfg(not(target_arch = "wasm32"))] {
3 /// OS signal handling (e.g. graceful shutdown on Ctrl-C / SIGTERM).
4 pub mod signals;
5 /// Panic hooks that log application panics and trigger shutdown.
6 pub mod panic;
7 } else {
8 // ...
9 }
10}
11
12/// Repaint-aware async channel types used to communicate with the UI thread.
13pub mod channel;
14/// Runtime and application event types delivered through the event loop.
15pub mod events;
16/// Globally-registered, shareable payload slots for passing data between tasks.
17pub mod payload;
18mod repaint;
19/// The [`Service`](service::Service) trait for long-running runtime components.
20pub mod service;
21
22#[allow(clippy::module_inception)]
23mod runtime;
24pub use runtime::*;