wondering if it is possible to add a delay between onCall requests.
The end goal is to send data to Firestore. I want to reduce abuse such as spam requests, by implementing delays between requests.
If one user sends a request, any "onCall" requests from the same user, should be omitted for the next 10 seconds so I can reduce invocations/ costs. (Returning a message on the user's screen: "Please try again in 10 seconds")
exports.sendToFirestore = functions.https.onCall((data, context, "delay?") => {
//send data to Firestone
});