(snowflake: Snowflake)
| 207 | * @since 4.0.0 |
| 208 | */ |
| 209 | export const toParts = (snowflake: Snowflake): Snowflake.Parts => ({ |
| 210 | timestamp: timestamp(snowflake), |
| 211 | machineId: machineId(snowflake), |
| 212 | sequence: sequence(snowflake) |
| 213 | }) |
| 214 | |
| 215 | /** |
| 216 | * Creates a stateful snowflake generator using `Clock`. |
no test coverage detected