snowflakes: {
generate: ((options?) => bigint);
get: ((id) => DeconstructedSnowflake);
} = ...
Type declaration
-
generate: ((options?) => bigint)
-
- (options?): bigint
-
Parameters
-
Optional options: SnowflakeGenerateOptions
Returns bigint
-
get: ((id) => DeconstructedSnowflake)
-
- (id): DeconstructedSnowflake
-
Returns DeconstructedSnowflake