MCPcopy
hub / github.com/Effect-TS/effect / writeExit

Function writeExit

packages/platform/src/Multipart.ts:378–380  ·  view source on GitHub ↗
(
  self: Exit.Exit<A, E>
)

Source from the content-addressed store, hash-verified

376 )
377
378const writeExit = <A, E>(
379 self: Exit.Exit<A, E>
380): Channel.Channel<never, unknown, E> => self._tag === "Success" ? Channel.void : Channel.failCause(self.cause)
381
382function convertError(cause: MP.MultipartError): MultipartError {
383 switch (cause._tag) {

Callers 1

makeChannelFunction · 0.85

Calls 1

failCauseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…