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

Function withScope

repos/effect/packages/effect/src/unstable/http/HttpClient.ts:1433–1446  ·  view source on GitHub ↗
(
  self: HttpClient.With<E, R>
)

Source from the content-addressed store, hash-verified

1431/**
1432 * Performs an additional effect after an unsuccessful request.
1433 *
1434 * @category sequencing
1435 * @since 4.0.0
1436 */
1437export const tapError: {
1438 <_, E, E2, R2>(
1439 f: (e: NoInfer<E>) => Effect.Effect<_, E2, R2>
1440 ): <R>(self: HttpClient.With<E, R>) => HttpClient.With<E | E2, R | R2>
1441 <E, R, _, E2, R2>(
1442 self: HttpClient.With<E, R>,
1443 f: (e: NoInfer<E>) => Effect.Effect<_, E2, R2>
1444 ): HttpClient.With<E | E2, R | R2>
1445} = dual(
1446 2,
1447 <E, R, _, E2, R2>(
1448 self: HttpClient.With<E, R>,
1449 f: (e: NoInfer<E>) => Effect.Effect<_, E2, R2>

Callers

nothing calls this directly

Calls 5

addFinalizerMethod · 0.80
syncMethod · 0.80
abortMethod · 0.80
setMethod · 0.65
transformFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…