Firebase - Cloud Firestore Trigger Idempotency
The Firebase docs for Cloud Firestore Triggers mentions here that functions triggered by an event from the Firestore database should be idempotent. Is there some kind of event id t
Solution 1:
Each event in Cloud Functions comes with a context. Besides the commonly used params
and auth
objects it also comes with a eventId property which is a unique identifier for the event. (the link goes to the API docs for EventContext).
Post a Comment for "Firebase - Cloud Firestore Trigger Idempotency"