Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ end
Function
end
packages/effect/src/Channel.ts:937–937 ·
view source on GitHub ↗
(value: A)
Source
from the content-addressed store, hash-verified
935
* @since 4.0.0
936
*/
937
export
const
end = <A>(value: A): Channel<never, never, A> => fromPull(Effect.succeed(Cause.done(value)))
938
939
/**
940
* Creates a `Channel` that immediately ends with the lazily evaluated value.
Callers
nothing calls this directly
Calls
3
fromPull
Function · 0.70
succeed
Method · 0.45
done
Method · 0.45
Tested by
no test coverage detected