Function
internals
(
cache: { readonly [CacheTypeId]: unknown }
)
Source from the content-addressed store, hash-verified
| 3377 | * @internal |
| 3378 | */ |
| 3379 | export const internals = ( |
| 3380 | cache: { readonly [CacheTypeId]: unknown } |
| 3381 | ): CacheInternals => { |
| 3382 | const make = (cache as Partial<queryCore.CacheCell>)[queryCore.CacheCellTypeId] |
| 3383 | return make === undefined ? cache as CacheInternals : make() |
| 3384 | } |
| 3385 | |
| 3386 | /** |
| 3387 | * The run a Command body runs in. The effect/ui runtime provides it, so a |
Tested by
no test coverage detected