Skip to main content

Module blocking

Module blocking 

Source
Expand description

Blocking façade over the async core::* types.

Each handle owns (or shares) a single-threaded tokio Runtime; every public method is rt.block_on(self.inner.method(args)). The sync caller writes straight-line code, no async keyword, no executor in main(). Internally everything runs through the same actor-style core — there’s no duplicated RPC logic.

Same public method names as core::* minus the .await.

Structs§

Request
Blocking analogue of core::Request. Every method mirrors the async one without the .await. The hidden current-thread runtime runs the await internally.
Subscribe
Subscription