Skip to main content

core.medplumclient.invalidatesearches

Home > @medplum/core > MedplumClient > invalidateSearches

MedplumClient.invalidateSearches() method

Invalidates all cached search results or cached requests for the given resourceType.

Signature:

invalidateSearches<K extends ResourceType>(resourceType: K): void;

Parameters

Parameter

Type

Description

resourceType

K

The resource type to invalidate.

Returns:

void