Interface DebouncerOptions

Options for the debouncer.

interface DebouncerOptions {
    index: IndexedStorage;
    inputQueueUrl: string;
    messageMapper: MessageMapper;
    mode: DispatchMode;
    outputQueueUrl: string;
    sqs: SQSClient;
}

Properties

The underlying backing storage implementation.

inputQueueUrl: string

The queue from which to receive messages to debounce.

messageMapper: MessageMapper

How to map input/output messages.

Whether to include only groupId and entryId or load message payloads as well when mapping messages before delivery. Loading message payloads may incur additional round trips to fetch the data.

Defaultvalue

withPayload

outputQueueUrl: string

The queue where to put debounced messages.

sqs: SQSClient

AWS sqs client instance