MCPcopy
hub / github.com/Effect-TS/effect / fromEffect

Function fromEffect

packages/effect/src/internal/sink.ts:1423–1424  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

1421
1422/** @internal */
1423export const fromEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Sink.Sink<A, unknown, never, E, R> =>
1424 new SinkImpl(core.fromEffect(effect))
1425
1426/** @internal */
1427export const fromPubSub = <In>(

Callers 8

contextFunction · 0.70
sink.tsFile · 0.70
serviceWithFunction · 0.70
serviceWithEffectFunction · 0.70
toChannelFunction · 0.70
retryUpdateFunction · 0.70
serviceFunction · 0.70
unwrapEffectFunction · 0.70

Calls 1

fromEffectMethod · 0.80

Tested by

no test coverage detected