Skip to main content

core.crawltypedvalueasync

Home > @medplum/core > crawlTypedValueAsync

crawlTypedValueAsync() function​

Crawls the typed value asynchronously.

Signature:

export declare function crawlTypedValueAsync(typedValue: TypedValue, visitor: AsyncCrawlerVisitor, options?: CrawlerOptions): Promise<void>;

Parameters​

Parameter

Type

Description

typedValue

TypedValue

The typed value to crawl.

visitor

AsyncCrawlerVisitor

The visitor functions to apply while crawling.

options

CrawlerOptions

(Optional) Options for how to crawl the typed value.

Returns:

Promise<void>

Promise to crawl the typed value.