Skip to content

Documentation / @andrew_l/snowflake / DeconstructedSnowflake

Interface: DeconstructedSnowflake ​

Object returned by Snowflake#deconstruct

Properties ​

epoch ​

epoch: number

The epoch to use in the snowflake


id ​

id: bigint

The id as a number


increment ​

increment: number

The increment stored in the snowflake


processId ​

processId: number

The process id stored in the snowflake


timestamp ​

timestamp: number

The timestamp stored in the snowflake


workerId ​

workerId: number

The worker id stored in the snowflake