MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / invalidateTimedClipCaches

Function invalidateTimedClipCaches

packages/core/src/runtime/init.ts:1652–1655  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1650 // element can reuse an identity whose in-flow status differs. WeakMap has no
1651 // `clear()`, so drop both maps wholesale — re-derived lazily on next access.
1652 const invalidateTimedClipCaches = () => {
1653 timedClipInFlow = new WeakMap<Element, boolean>();
1654 timedClipIsLeaf = new WeakMap<Element, boolean>();
1655 };
1656
1657 const syncMediaForCurrentState = () => {
1658 const resolveMediaCompositionContext = (element: HTMLVideoElement | HTMLAudioElement) => {

Callers 1

postTimelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected