Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ Duration
Function
Duration
packages/effect/src/Config.ts:1372–1374 ·
view source on GitHub ↗
(name?: string)
Source
from the content-addressed store, hash-verified
1370
* @since 2.5.0
1371
*/
1372
export
function
Duration(name?: string) {
1373
return
schema(Schema.DurationFromString, name)
1374
}
1375
1376
/**
1377
* Creates a config
for
an exact, human-readable byte-size value.
Callers
nothing calls this directly
Calls
1
schema
Function · 0.70
Tested by
no test coverage detected