Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ succeed
Function
succeed
packages/effect/src/Channel.ts:836–836 ·
view source on GitHub ↗
(value: A)
Source
from the content-addressed store, hash-verified
834
* @since 2.0.0
835
*/
836
export
const
succeed = <A>(value: A): Channel<A> => fromEffect(Effect.succeed(value))
837
838
/**
839
* Creates a `Channel` that immediately ends with the specified value.
Callers
1
Channel.ts
File · 0.70
Calls
2
fromEffect
Function · 0.70
succeed
Method · 0.45
Tested by
no test coverage detected