()
| 13 | import {resolveOwner} from './ReactFlightCurrentOwner'; |
| 14 | |
| 15 | function resolveCache(): Map<Function, mixed> { |
| 16 | const request = resolveRequest(); |
| 17 | if (request) { |
| 18 | return getCache(request); |
| 19 | } |
| 20 | return new Map(); |
| 21 | } |
| 22 | |
| 23 | export const DefaultAsyncDispatcher: AsyncDispatcher = ({ |
| 24 | getCacheForType<T>(resourceType: () => T): T { |
no test coverage detected