Skip to main content

motorcortex_rust/blocking/
mod.rs

1//! Blocking façade over the async `core::*` types.
2//!
3//! Each handle owns (or shares) a single-threaded tokio `Runtime`;
4//! every public method is `rt.block_on(self.inner.method(args))`.
5//! The sync caller writes straight-line code, no `async` keyword, no
6//! executor in `main()`. Internally everything runs through the same
7//! actor-style core — there's no duplicated RPC logic.
8//!
9//! Same public method names as `core::*` minus the `.await`.
10
11mod request;
12mod subscribe;
13mod subscription;
14
15pub use request::Request;
16pub use subscribe::Subscribe;
17pub use subscription::Subscription;