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

Function seconds

packages/effect/src/Duration.ts:707–707  ·  view source on GitHub ↗
(seconds: number)

Source from the content-addressed store, hash-verified

705 * @since 2.0.0
706 */
707export const seconds = (seconds: number): Duration => make(seconds * 1000)
708
709/**
710 * Creates a Duration from minutes.

Callers 1

fromInputUnsafeFunction · 0.85

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected