MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / estimateWaitMs

Function estimateWaitMs

web/src/server/free-session/session-view.ts:88–92  ·  view source on GitHub ↗
(params: { position: number })

Source from the content-addressed store, hash-verified

86 * Position 1 → 0ms (next tick picks you up).
87 */
88export function estimateWaitMs(params: { position: number }): number {
89 const { position } = params
90 if (position <= 1) return 0
91 return (position - 1) * WAIT_MS_PER_SPOT_AHEAD
92}

Callers 2

toSessionStateResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected