Skip to main content

apply_exec_outcome

Function apply_exec_outcome 

Source
fn apply_exec_outcome(
    exit_info: &mut Signal<String>,
    error_msg: &mut Signal<String>,
    res: &ExecResult,
)
Expand description

把执行结果(耗时/状态)写入 exit_info / error_msg:成功清空错误提示, 非成功态回填状态中文标签。非 WASM 占位轮询路径与 WASM 端 SSE 降级轮询 (sse_consumer::poll_result)共用同一套结果展示逻辑,避免重复维护。