(key: Key, value: Value)
| 169 | }, |
| 170 | |
| 171 | write(key: Key, value: Value): void { |
| 172 | const entriesForResource = getEntriesForResource(resource); |
| 173 | |
| 174 | const fulfilledThenable: FulfilledThenable<Value> = (Promise.resolve( |
| 175 | value, |
| 176 | ): any); |
| 177 | fulfilledThenable.status = 'fulfilled'; |
| 178 | fulfilledThenable.value = value; |
| 179 | |
| 180 | entriesForResource.set(key, fulfilledThenable); |
| 181 | }, |
| 182 | }; |
| 183 | |
| 184 | resourceConfigs.set(resource, config); |
nothing calls this directly
no test coverage detected