Suppose I have a Firestore document and has a Date/Time Field called "AlarmTime" which holds some future Date/Time value.
Q1: Is there a way to tell Firestore to Trigger an event when any document's "AlarmTime" matches Current Time, so we can respond to that trigger event in a Cloud function?
Q2: If that is not possible, what would be the most efficient way in a Cloud Function to find any document's that it's "AlarmTime" field has reached the current time? I would find it inefficient to Poll the database continuously.
Thank you in advance! ..Ben