Reload Widget when Photo Library changes

Is it possible for a widget to be reloaded when the photo library changes?

Outside of Widgets, there is
Code Block
PHPhotoLibraryChangeObserver

Is it possible to use something similar to update the timeline whenever there is a change in the photo library?

Code Block
TimelineProvider.getTimeline(in:completion:)


Have you found a solution to this? In my case I want to reload a widget every time a calendar changed. I have looked at background task, but it seems strange to set a specific interval time to run widget reload. Since I only need to reload when there is a notification for calendar changed.

Reload Widget when Photo Library changes
 
 
Q