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

Function resolve

packages/effect/src/Cron.ts:957–962  ·  view source on GitHub ↗
(wallMillis: number)

Source from the content-addressed store, hash-verified

955 // resolve to the instant after the gap under either disambiguation.
956 const disambiguation = onDstOverlap === "later" ? "later" : "compatible"
957 const resolve = (wallMillis: number) =>
958 dateTime.makeZonedUnsafe(wallMillis, {
959 timeZone: zoned.zone,
960 adjustForTimeZone: true,
961 disambiguation
962 }).epochMilliseconds
963
964 // Inside a fold, wall-clock order differs from instant order, so a candidate
965 // can resolve to an instant on the wrong side of the input.

Callers 15

searchCronFunction · 0.70
runtimePromiseFunction · 0.70
runtimePromiseFunction · 0.70
runtimePromiseFunction · 0.70
acceptsNullFunction · 0.50
dereferenceFunction · 0.50
resolveJSDocApiSeeLinksFunction · 0.50
atomToPromiseFunction · 0.50
run.tsFile · 0.50
bundleFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 1

resourceFunction · 0.40