* @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} opts * @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} cacheKey * @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler
({ store, type, cacheByDefault }, cacheKey, handler)
| 160 | * @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler |
| 161 | */ |
| 162 | constructor ({ store, type, cacheByDefault }, cacheKey, handler) { |
| 163 | this.#store = store |
| 164 | this.#cacheType = type |
| 165 | this.#cacheByDefault = cacheByDefault |
| 166 | this.#cacheKey = cacheKey |
| 167 | this.#handler = handler |
| 168 | } |
| 169 | |
| 170 | onRequestStart (controller, context) { |
| 171 | this.#writeStream?.destroy() |
nothing calls this directly
no outgoing calls
no test coverage detected