UNPKG

recogn-parse

Version:

recogn-parse 提供了 识别--解析 的机制,使用者只需要添加识别器 和 解析器,然后就可以对事件进行识别和解析,适合用所有具备 识别--解析 流程的场景中,如:加载并显示各种模型、预览文件等

20 lines (11 loc) 552 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [recogn-parse](./recogn-parse.md) &gt; [JudgeReturn](./recogn-parse.judgereturn.md) ## JudgeReturn type 监定函数的返回值的类型 **Signature:** ```typescript export type JudgeReturn = Promise<JudgeResult> | JudgeResult; ``` **References:** [JudgeResult](./recogn-parse.judgeresult.md) ## Remarks 可以是同步的结果 [JudgeResult](./recogn-parse.judgeresult.md) 也可以是异步的 `Promise<JudgeResult>`