MCPcopy Create free account
hub / github.com/Effect-TS/effect / timestamp

Function timestamp

packages/cluster/src/Snowflake.ts:108–108  ·  view source on GitHub ↗
(snowflake: Snowflake)

Source from the content-addressed store, hash-verified

106 * @category Parts
107 */
108export const timestamp = (snowflake: Snowflake): number => Number(snowflake >> constBigInt22) + sinceUnixEpoch
109
110/**
111 * @since 1.0.0

Callers 2

dateTimeFunction · 0.85
toPartsFunction · 0.85

Calls 1

NumberInterface · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…