sp component base.dynamicdataprovider.unregistersourcechanged - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-component-base > DynamicDataProvider > unregisterSourceChanged

DynamicDataProvider.unregisterSourceChanged() method

Unregisters a callback for updates when a Dynamic Data source is changed.

Signature:

unregisterSourceChanged(sourceId: string, callback: () => void): void;

Parameters

Parameter Type Description
sourceId string Id of the Dynamic Data Source.
callback () => void Function to remove from the registration. Must be the same it was registered with.

Returns:

void

⚠️ **GitHub.com Fallback** ⚠️