<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [recogn-parse](./recogn-parse.md) &gt; [RecognParse](./recogn-parse.recognparse.md) &gt; [resolveAsync](./recogn-parse.recognparse.resolveasync.md)

## RecognParse.resolveAsync() method

异步识别并解析

**Signature:**

```typescript
resolveAsync(target: any, targetOpts: TOptions, options?: ResolveOptions | null): RecognParseResult_Async;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

target


</td><td>

any


</td><td>

识别解析的目标


</td></tr>
<tr><td>

targetOpts


</td><td>

TOptions


</td><td>

目标选项，主要包含的是与目标相关的选项，大多数场景可能是服务于解析目标的，往往不同类型的目标会有不同的选项，


</td></tr>
<tr><td>

options


</td><td>

[ResolveOptions](./recogn-parse.resolveoptions.md) \| null


</td><td>

_(Optional)_ resolve 方法本身的选项，用于控制 识别解析过程的，而不是控制针对目标的具体的鉴定、解析逻辑的，通常与目标无关。


</td></tr>
</tbody></table>
**Returns:**

[RecognParseResult\_Async](./recogn-parse.recognparseresult_async.md)

## Remarks

只有当最终有识别结果时，才会 resolve，否则，则会 reject

