Change Data Streams
For applications that connect to a single realm, server-sent
events may be a good alternative to triggers.
Instead of registering a web-hook, you create an change data stream and start listeing to it. Any modifications to the
subscribed resources will be delivered in real-time as JSON-encoded text/event-stream
events. As soon as the client
stops listening, the event stream is automatically deleted.
See Event Streams for more information.