Module crossbus::rt

source ·
Available on crate feature rt only.
Expand description

Convenient Runtime for common use

CrossBus is Runtime-less, it means there is no built-in Runtime for execution,

it DOES NOT mean CrossBus runs without runtime. on the contrary, CrossBus allow various runtimes and customized runtime even a bare-bone executor.

for convenience, CrossBus provides three common runtimes

  • bare tokio-based runtime (with feature tokio), just a few crates, however, no io, time supported (build your own if necessary)
  • async-std-based runtime (with feature async-std), kind of large and redundant
  • wasm-bindgen-futures-based runtime (with feature wasm32), only spawn_local supported

Modules

Traits