Returns a unique id. The uniqueness of the returned string is the current timestamp to ms precision plus 2^53-1 possible values.
The odds of a collision where n is the number of UIDs created within the same millisecond: 1-((2^53-2)/(2^53-1))^C(n, 2)
For 1000 UIDs created within the same millisecond the odds of a collision are: 00.0000000055%, or 1 in 550 billion.
Returns a unique id. The uniqueness of the returned string is the current timestamp to ms precision plus 2^53-1 possible values.
The odds of a collision where n is the number of UIDs created within the same millisecond: 1-((2^53-2)/(2^53-1))^C(n, 2)
For 1000 UIDs created within the same millisecond the odds of a collision are: 00.0000000055%, or 1 in 550 billion.