MCPcopy Create free account
hub / github.com/Roy3838/Observer / onFinished

Method onFinished

app/src/utils/tutorialStreamCapture.ts:29–32  ·  view source on GitHub ↗

Fires once when the bar reaches 100% (from the live draw loop only, never a still frame).

(cb: () => void)

Source from the content-addressed store, hash-verified

27
28 /** Fires once when the bar reaches 100% (from the live draw loop only, never a still frame). */
29 onFinished(cb: () => void): () => void {
30 this.finishListeners.add(cb);
31 return () => { this.finishListeners.delete(cb); };
32 }
33
34 /** Idempotent — returns the existing stream if one is already running. */
35 createStream(): MediaStream {

Callers 1

wireFunction · 0.80

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected