(entityID)
| 908 | |
| 909 | // Remove a single entity and all its related issues from the caches |
| 910 | uncacheEntityID(entityID) { |
| 911 | const issueIDs = this.entityIssueIDs.get(entityID) ?? []; |
| 912 | for (const issueID of issueIDs) { |
| 913 | const issue = this.issues.get(issueID); |
| 914 | if (issue) { |
| 915 | this.uncacheIssue(issue); |
| 916 | } |
| 917 | } |
| 918 | |
| 919 | this.entityIssueIDs.delete(entityID); |
| 920 | this.provisionalEntityIDs.delete(entityID); |
| 921 | } |
| 922 | |
| 923 | |
| 924 | /** |
no test coverage detected