uuid1
uuid1(
node?:bigint,clockSeq?:number):UUID
Defined in: packages/pythonlib/src/uuid.ts:242
Generate a UUID based on host ID and current time (version 1).
Note: In browser environments, the node ID is randomly generated since MAC addresses are not accessible.
Parameters
| Parameter | Type | Description |
|---|---|---|
node? | bigint | Optional 48-bit node ID (defaults to random) |
clockSeq? | number | Optional 14-bit clock sequence (defaults to random) |
Returns
A new time-based UUID