MCPcopy Create free account
hub / github.com/Noumena-Network/code / get

Function get

src/hooks/useElapsedTime.ts:24–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 endTime?: number,
23): string {
24 const get = () =>
25 formatDuration(Math.max(0, (endTime ?? Date.now()) - startTime - pausedMs))
26
27 const subscribe = useCallback(
28 (notify: () => void) => {

Callers

nothing calls this directly

Calls 2

maxMethod · 0.80
formatDurationFunction · 0.50

Tested by

no test coverage detected