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
Parameter | Type | Description |
---|---|---|
criteria | string | The criteria to unsubscribe from. |
Returns:
void