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

Function endOfMinute

packages/effect/src/internal/schedule.ts:1718–1721  ·  view source on GitHub ↗
(now: number)

Source from the content-addressed store, hash-verified

1716
1717/** @internal */
1718export const endOfMinute = (now: number): number => {
1719 const date = new Date(beginningOfMinute(now))
1720 return date.setMinutes(date.getMinutes() + 1)
1721}
1722
1723/** @internal */
1724export const nextMinute = (now: number, minute: number, initial: boolean): number => {

Callers 1

minuteOfHourFunction · 0.85

Calls 1

beginningOfMinuteFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…