MCPcopy Create free account
hub / github.com/effect-app/libs / unwrap

Function unwrap

repos/effect/packages/effect/src/Sink.ts:1895–1897  ·  view source on GitHub ↗
(
  effect: Effect.Effect<Sink<A, In, L, E, R2>, E, R>
)

Source from the content-addressed store, hash-verified

1893 *
1894 * // Create a sink from an effect that produces a sink
1895 * const processed: Array<number> = []
1896 * const sinkEffect = Effect.succeed(
1897 * Sink.forEach((item: number) => Effect.sync(() => processed.push(item)))
1898 * )
1899 * const sink = Sink.unwrap(sinkEffect)
1900 *

Callers 4

Channel.tsFile · 0.70
fromPubSubFunction · 0.70
fromPubSubArrayFunction · 0.70
fromPubSubTakeFunction · 0.70

Calls 2

fromChannelFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…