Functions§
- sync_
run_ async - A minimal helper that runs an async future on an existing Tokio runtime if present, otherwise creates a new one. This pattern is commonly copied into projects that need to safely call async from sync without nesting runtimes. While there isn’t a de-facto standard library crate that does exactly this (as of this writing), this helper is used (and tested) in various production codebases.