Skip to main content

Module rt

Module rt 

Available on crate feature std only.
Expand description

Runtime utilities used by Rama.

The Executor is used to spawn futures, from within a service. This is also for example what happens by the built in http client and servers, when serving protocols such as h2 and h3.

See the Executor for more information on how to use it.

Modules§

blocking
Blocking boundaries for asynchronous Rama services and I/O.
future
core::future extension

Structs§

Executor
Future executor that utilises tokio threads.
OwnedRuntime
An owned Tokio runtime with an optional dial9 telemetry session.
OwnedRuntimeHandle
A cloneable handle targeting one specific OwnedRuntime.

Functions§

spawn
Spawn a future on the current tokio runtime.