Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ seconds
Function
seconds
packages/effect/src/Duration.ts:781–781 ·
view source on GitHub ↗
(seconds: number)
Source
from the content-addressed store, hash-verified
779
* @since 2.0.0
780
*/
781
export
const
seconds = (seconds: number): Duration => make(seconds * 1000)
782
783
/**
784
* Creates a Duration from minutes.
Callers
nothing calls this directly
Calls
1
make
Function · 0.70
Tested by
no test coverage detected