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

Method run

packages/tools/api-diff/src/ApiDiff.ts:151–161  ·  view source on GitHub ↗
(options: ApiDiffOptions)

Source from the content-addressed store, hash-verified

149 })
150
151 const run = (options: ApiDiffOptions): Effect.Effect<void, ApiDiffError> =>
152 runInternal(options).pipe(
153 Effect.mapError((cause) =>
154 isApiDiffError(cause)
155 ? cause
156 : new ApiDiffError({
157 message: "API diff failed",
158 cause
159 })
160 )
161 )
162
163 return ApiDiff.of({ run })
164 })

Callers 15

bin.tsFile · 0.45
main.tsFile · 0.45
main.tsFile · 0.45
main.tsFile · 0.45
RollupClass · 0.45
bin.tsFile · 0.45
Cli.tsFile · 0.45
bin.tsFile · 0.45
NodeSink.test.tsFile · 0.45
entriesFunction · 0.45
node-terminal.tsFile · 0.45

Calls 2

isApiDiffErrorFunction · 0.90
pipeMethod · 0.65

Tested by 3

entriesFunction · 0.36
echoFunction · 0.36
makeAssertsFunction · 0.36