Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ succeed
Function
succeed
packages/effect/src/Stream.ts:814–814 ·
view source on GitHub ↗
(value: A)
Source
from the content-addressed store, hash-verified
812
* @since 2.0.0
813
*/
814
export
const
succeed = <A>(value: A): Stream<A> => fromChannel(Channel.succeed(Arr.of(value)))
815
816
/**
817
* Creates a stream from a sequence of values.
Callers
2
result
Function · 0.70
Stream.ts
File · 0.70
Calls
3
fromChannel
Function · 0.70
of
Method · 0.65
succeed
Method · 0.45
Tested by
no test coverage detected