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, subscriptionProps?: Partial<Subscription>): void;
Parameters
Parameter | Type | Description |
---|---|---|
criteria | string | The criteria to unsubscribe from. |
subscriptionProps | Partial<Subscription> | (Optional) The optional properties that |
Returns:
void