feldera_storage/
tokio.rs

1use once_cell::sync::Lazy;
2use tokio::runtime::Runtime;
3
4/// The process running dbsp can share a single Tokio runtime.
5///
6/// This is `pub` so it can be used in dbsp and adapters too for IO.
7pub static TOKIO: Lazy<Runtime> = Lazy::new(|| Runtime::new().unwrap());