Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/ai
/ createId
Method
createId
packages/ai/src/activities/chat/index.ts:2596–2598 ·
view source on GitHub ↗
(prefix: string)
Source
from the content-addressed store, hash-verified
2594
}
2595
2596
private createId(prefix: string): string {
2597
return
`${prefix}-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
2598
}
2599
}
2600
2601
// ===========================
Callers
6
constructor
Method · 0.95
beginIteration
Method · 0.95
buildToolResultChunks
Method · 0.95
createSyntheticFinishedEvent
Method · 0.95
onStart
Function · 0.80
onToolPhaseComplete
Function · 0.80
Calls
2
now
Method · 0.80
toString
Method · 0.80
Tested by
no test coverage detected