Skip to main content

Interface: DeconstructedSnowflake

Defined in: Snowflake.ts:268

Object returned by Snowflake#deconstruct

Properties

epoch

epoch: bigint

Defined in: Snowflake.ts:297

The epoch to use in the snowflake


id

id: bigint

Defined in: Snowflake.ts:272

The id in BigInt form


increment

increment: bigint

Defined in: Snowflake.ts:292

The increment stored in the snowflake


processId

processId: bigint

Defined in: Snowflake.ts:287

The process id stored in the snowflake


timestamp

timestamp: bigint

Defined in: Snowflake.ts:277

The timestamp stored in the snowflake


workerId

workerId: bigint

Defined in: Snowflake.ts:282

The worker id stored in the snowflake