Skip to content

IncrementalFileIndexComponent.rescan method

IncrementalFileIndexComponent › rescan

Rebuilds projections for every accepted file, for example after a consumer learns new names to find in text. Events arriving during the scan supersede its older reads. Consumers coordinate any domain scan markers.

Signature:

rescan(): Promise<void>

Returns: Promise<void> — Completion of the bounded full scan.