Esc

uuid_v7

procedureextensionsince 0.36.1Source
  • macOS: uuid_v7 works on macOS
  • Linux: uuid_v7 works on Linux
  • Windows: uuid_v7 works on Windows
  • Wasm: uuid_v7 works on Wasm

Process-monotonic v7, RFC method 1; e.g. id, err := uuid_v7(). A 12-bit counter follows the timestamp; exhaustion returns an error without waiting.

Signature

uuid_v7 :: () -> (Uuid, Uuid_Error)

See also