@elizaos/core v1.0.0-beta.7 / createUniqueUuid
Function: createUniqueUuid()
createUniqueUuid(
runtime
,baseUserId
): `${string}-${string}-${string}-${string}-${string}`
Function to create a unique UUID based on the runtime and base user ID.
Parameters
• runtime: any
The runtime context object.
• baseUserId: string
The base user ID to use in generating the UUID.
Returns
`${string}-${string}-${string}-${string}-${string}`
- The unique UUID generated based on the runtime and base user ID.