Crate ya_runtime_sdk
source ·Re-exports
pub use ya_runtime_api as runtime_api;
pub use cli::Command;
pub use error::Error;
pub use error::ErrorExt;
Modules
Structs
Runtime execution context
Runtime event emitter
Command execution handler
Enums
Runtime event kind
Defines the mode of execution for commands within the runtime.
Traits
Wraps command lifecycle in the following manner:
Command handling interface for runtimes
Runtime definition trait.
Auto-generated with
#[derive(RuntimeDef)]
Functions
Creates a new runtime execution future within a new
tokio::task::LocalSet
,
using a custom environment configuration provider and a runtime factoryStarts the runtime within a new
tokio::task::LocalSet
Starts the runtime within a new
tokio::task::LocalSet
,
using a custom environment configuration provider