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

Function ignore

packages/effect/src/Micro.ts:2897–2898  ·  view source on GitHub ↗
(self: Micro<A, E, R>)

Source from the content-addressed store, hash-verified

2895 * @category error handling
2896 */
2897export const ignore = <A, E, R>(self: Micro<A, E, R>): Micro<void, never, R> =>
2898 matchEffect(self, { onFailure: (_) => void_, onSuccess: (_) => void_ })
2899
2900/**
2901 * Ignore any expected errors of the given `Micro` effect, returning `void`.

Callers 1

core-effect.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected