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

ParameterTypeDescription
resourceTypeKThe resource type to invalidate.

Returns:

void