Internal
The arguments passed to the function.
For example, if the function is foo(a, b)
, then functionArguments
will be [a, b]
.
We need to keep track of the arguments so that we can pass them to the function when we call it.
The payload to be hashed.
This is the argument that is used for the idempotency.
Reference to the function to be made idempotent.
Idempotency configuration options.
Persistence layer used to store the idempotency records.
Optional
thisArg?: HandlerThe this
context to be used when calling the function.
When decorating a class method, this will be the instance of the class.
Options to configure the behavior of the idempotency logic.
This is an internal type that is used for configuration.