跳到主要内容

IDP.Integration.Bom.Detection.detectAsync() 函数

function detectAsync(option: BomDetectionOption): Promise<{
bomDetectionProblem: BomDetectionProblem[];
}>;

触发BOM检测

参数:

返回值: Promise<{ bomDetectionProblem: BomDetectionProblem[]; }>

异常:

Error 报错即表示检测失败 @vm-type AsyncFunctionType