4 ms·
It’s used commonly when working with unreliable communication (e.g. networking). For example, if you make a request but you don’t get a response, either the req
by thewakalix 6y ago
It’s used commonly when working with unreliable communication (e.g. networking). For example, if you make a request but you don’t get a response, either the request or the response might have failed to send. It’s convenient if you don’t need to determine which case occurred; idempotent functions free you from worrying about whether the requested action was carried out.