dflake

This module contains the entire DFlake library, which is mostly centered around the SnowflakeGenerator.

Members

Structs

SnowflakeGenerator
struct SnowflakeGenerator

The Snowflake generator is a thread-safe generator of unique "snowflake" ids, which guarantees that ids it generates will always be unique and always increasing in value, provided that there are no two generators with the same node id at the same time.

Meta