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:964–966 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
962
* @since 2.0.0
963
*/
964
export
function
succeed<T>(value: T) {
965
return
make(() => Effect.succeed(Result.succeed(value)))
966
}
967
968
/**
969
* Creates a config
for
a single string value.
Callers
nothing calls this directly
Calls
2
make
Function · 0.70
succeed
Method · 0.45
Tested by
no test coverage detected