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

Function activateSiblingTimelines

packages/core/src/runtime/player.ts:118–125  ·  view source on GitHub ↗
(
  registry: Record<string, RuntimeTimelineLike | undefined> | undefined | null,
  master: RuntimeTimelineLike,
)

Source from the content-addressed store, hash-verified

116}
117
118function activateSiblingTimelines(
119 registry: Record<string, RuntimeTimelineLike | undefined> | undefined | null,
120 master: RuntimeTimelineLike,
121): void {
122 forEachSiblingTimeline(registry, master, (tl) => {
123 safeVoid(tl, "play");
124 });
125}
126
127export function createRuntimePlayer(deps: PlayerDeps): RuntimePlayer {
128 return {

Callers 1

createRuntimePlayerFunction · 0.70

Calls 2

forEachSiblingTimelineFunction · 0.85
safeVoidFunction · 0.85

Tested by

no test coverage detected