3 ms·
I took idempotent and safe to be functionally equivalent. i.e. that which causes no state-change on the server. Thanks for the correction. Effectively a "deboun
by rusk 9y ago
I took idempotent and safe to be functionally equivalent. i.e. that which causes no state-change on the server. Thanks for the correction. Effectively a "debounced" operation.
- chrisrhoden 9y agoIdempotent just means that you can do it as many times as you want (n) and the state will remain the same, for n >= 1.
- rusk 9y agoThe origin of my confusion is the definition of GET as idempotent. My understanding of this verb is it (should) cause no mutations. So the correct classification of GET is "safe".
- chrismorgan 9y agoSafe is a subset of idempotent. Idempotent means that one invocation has the same effect as more than one invocation. Safe means that zero invocations has the same effect as one or more invocations.
- rusk 9y agoYeah I understand how the categories work but the language was heretofire confusing