MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeEffect

Function makeEffect

packages/effect/src/Filter.ts:158–160  ·  view source on GitHub ↗
(
  f: (input: Input) => Effect<Result.Result<Pass, Fail>, E, R>
)

Source from the content-addressed store, hash-verified

156 * @since 4.0.0
157 */
158export const makeEffect = <Input, Pass, Fail, E, R>(
159 f: (input: Input) => Effect<Result.Result<Pass, Fail>, E, R>
160): FilterEffect<Input, Pass, Fail, E, R> => f as any
161
162/**
163 * Transforms the failure value produced by a `Filter`, leaving successful

Callers 4

Atom.tsFile · 0.50
readFunction · 0.50
succeedMethod · 0.50
failMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected