Skip to main content

Interface: DeconstructedSnowflake

@sapphire/snowflake.DeconstructedSnowflake

Object returned by Snowflake#deconstruct

Properties

epoch

โ€ข epoch: bigint

The epoch to use in the snowflake

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:154


id

โ€ข id: bigint

The id in BigInt form

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:129


increment

โ€ข increment: bigint

The increment stored in the snowflake

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:149


processID

โ€ข processID: bigint

The process id stored in the snowflake

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:144


timestamp

โ€ข timestamp: bigint

The timestamp stored in the snowflake

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:134


workerID

โ€ข workerID: bigint

The worker id stored in the snowflake

Defined in

projects/utilities/packages/snowflake/src/lib/Snowflake.ts:139