(name, args)
| 170 | |
| 171 | // Returns true if this call was already executed *this turn*. |
| 172 | has(name, args) { |
| 173 | if (this.disabled) return false; |
| 174 | if (!this.isIdempotent(name)) return false; |
| 175 | return this.seen.has(idempotentWriteKey(name, args)); |
| 176 | } |
| 177 | |
| 178 | // Record a successful idempotent-write call. |
| 179 | record(name, args, result) { |
no test coverage detected