Building a notifier from the backend to the frontend

Hello,

I’m building a Forge app that stores messages in storage whenever a pull request is created (as part of a merge check). I also have another module that displays these messages.

How can I notify the frontend when the storage is updated? I’m looking for a way to trigger a function or event on the frontend when the storage is modified. This function would then fetch the updated messages from storage and display them.

Could someone explain the recommended approach for this use case? :slight_smile:

Hi @NoahEhlert,

Great question, unfortunately there is no real time messaging solution that allows you to push messages up to the UI today, although this is a capability that we are thinking about. I would highly recommend you document your use case as a feature request on this board and upvote it.

The only solution that I can think of today would be for you to poll for changes, which is not going to be efficient but should functionally achieve the desired effect.