Creates debouncer. See createInputConsumer on how to listen for input messages.
See dispatchStoredMessages on how to send messages to the output queue (e.g. from a cron trigger).
Call this method at the rate you wish to debounce events. Example:
// Runs every hour at the start of the hour cron.schedule("0 * * * *", async () => { // Push out all deduped messages received so far debouncer.dispatchStoredMessages(); });
Creates debouncer. See createInputConsumer on how to listen for input messages. See dispatchStoredMessages on how to send messages to the output queue (e.g. from a cron trigger).