core.crawlresource_2
Home > @medplum/core > crawlResource
crawlResource() function
Warning: This API is now obsolete.
- Use crawlTypedValue instead
Crawls the resource synchronously.
Signature:
export declare function crawlResource(resource: Resource, visitor: CrawlerVisitor, options?: CrawlerOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
resource | Resource | The resource to crawl. |
visitor | The visitor functions to apply while crawling. | |
options | (Optional) Options for how to crawl the resource. |
Returns:
void