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:732–732 ·
view source on GitHub ↗
(value: A)
Source
from the content-addressed store, hash-verified
730
* @since 2.0.0
731
*/
732
export
const
succeed = <A>(value: A): Stream<A> => fromChannel(Channel.succeed(Arr.of(value)))
733
734
/**
735
* 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