Skip to main content

core.medplumclient.unsubscribefromcriteria

Home > @medplum/core > MedplumClient > unsubscribeFromCriteria

MedplumClient.unsubscribeFromCriteria() method

Unsubscribes from the given criteria.

When called the same amount of times as proceeding calls to subscribeToCriteria on a given criteria, the criteria is fully removed from the SubscriptionManager.

Signature:

unsubscribeFromCriteria(criteria: string): void;

Parameters

ParameterTypeDescription
criteriastringThe criteria to unsubscribe from.

Returns:

void