Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ succeed
Function
succeed
packages/effect/src/Config.ts:1118–1120 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
1116
* @since 2.0.0
1117
*/
1118
export
function
succeed<T>(value: T) {
1119
return
make(() => Effect.succeed(resolved(value, false)))
1120
}
1121
1122
/**
1123
* Creates a config
for
a single string value.
Callers
nothing calls this directly
Calls
3
make
Function · 0.70
resolved
Function · 0.70
succeed
Method · 0.45
Tested by
no test coverage detected