detectNativeFieldsAsync function exported ✓ 100.0%
Last updated: 2026-03-04T23:21:38.391Z
Metrics
LOC: 3
Complexity: 1
Params: 0
Coverage: 100.0% (1/1 lines, 2x executed)
Signature
detectNativeFieldsAsync(): : Promise<FormField[]>
Summary
Async run — classifies every native input (including Chrome AI) and returns all fields at once. Use streamNativeFieldsAsync() for real-time feedback.
Source Code
export async function detectNativeFieldsAsync(): Promise<FormField[]> {
return buildClassificationChain().runAsync(collectNativeFields());
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| buildClassificationChain | calls |
| collectNativeFields | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| detectFormFields | uses |
| detectAllFieldsAsync | calls |
| makeField | uses |
| classifierNames | uses |