MCPcopy
hub / github.com/TanStack/ai / now

Function now

packages/ai-claude-code/src/stream/translate.ts:107–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105): AsyncIterable<StreamChunk> {
106 const { model, runId, threadId, genId } = ctx
107 const now = () => Date.now()
108
109 let runStarted = false
110 /** Tool calls started but with no result yet. */

Callers 10

startRunFunction · 0.70
closePartialTextFunction · 0.70
closePartialReasoningFunction · 0.70
emitToolUseFunction · 0.70
handleAssistantFunction · 0.70
handleUserFunction · 0.70
handleResultFunction · 0.70
handleStreamEventFunction · 0.70
translateSdkStreamFunction · 0.70

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected