Skip to main content

core.asyncresourcevisitor

Home > @medplum/core > AsyncResourceVisitor

AsyncResourceVisitor interface

Signature:

export interface AsyncResourceVisitor 

Properties

Property

Modifiers

Type

Description

onEnterObject?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => Promise<void>

(Optional)

onEnterResource?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => Promise<void>

(Optional)

onExitObject?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => Promise<void>

(Optional)

onExitResource?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => Promise<void>

(Optional)

visitPropertyAsync

(parent: TypedValueWithPath, key: string, path: string, value: TypedValueWithPath | TypedValueWithPath[], schema: InternalTypeSchema) => Promise<void>