pub fn build_wasm_canisters_cached_with_progress<F>(
spec: &WasmBuildSpec,
config: WasmBuildProgressConfig,
observer: F,
) -> Result<WasmBuildOutcome, WasmBuildError>where
F: FnMut(WasmBuildProgressEvent),Expand description
Build or reuse one exact Wasm set while streaming structured progress.
Cargo output remains captured for WasmBuildError::CommandFailed and is
additionally forwarded as raw chunks when enabled. Potentially long input
resolution, lock waits, maintenance, Cargo, and publication phases emit
periodic heartbeats, so a legitimate acquisition need not appear stalled.
Observer panics propagate after joining active phase work, terminating the
Cargo child when applicable, and preserving normal cleanup.