pub fn get_runtime() -> Result<(Handle, Option<Arc<Runtime>>), EncodingError>Expand description
Returns the current Tokio runtime handle, or creates a new one if it doesn’t exist. It also returns the runtime to prevent it from being dropped before use. This is required since tycho-execution does not have a pre-existing runtime.