idempotency

noun
UK /ˌɪdɛmpəˈtɛnsi/
US /ˌaɪdəmˈpoʊtənsi/

Idempotency means doing the same thing again does not change the result.

The button uses idempotency so pressing it twice does not create two orders.


OTHER MEANINGS

2. In mathematics, the property of an operation that gives the same result when applied to its own output.

Squaring zero is idempotent because zero squared is still zero.

3. In computing, a guarantee that repeating a request has the same effect as sending it once.

The payment API relies on idempotency to safely handle network retries.

4. In algebra, a property of an element that equals its own square.

The number one is idempotent under multiplication.