MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / beat

Function beat

e2e/src/timeline.ts:83–86  ·  view source on GitHub ↗
(ms: number = FILM_BEAT_MS)

Source from the content-addressed store, hash-verified

81
82/** Hold for the viewer — a no-op unless this run is being filmed. */
83export const beat = async (ms: number = FILM_BEAT_MS): Promise<void> => {
84 if (!isFilming()) return;
85 await new Promise((tick) => setTimeout(tick, ms));
86};
87
88/**
89 * Focus `window`, lingering a beat on the OUTGOING window first when this is a

Callers 3

stepFunction · 0.90
makeCliSurfaceFunction · 0.90
enterFocusFunction · 0.85

Calls 1

isFilmingFunction · 0.85

Tested by

no test coverage detected