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

Function never

packages/cluster/test/TestEntity.ts:91–98  ·  view source on GitHub ↗
(envelope: any)

Source from the content-addressed store, hash-verified

89 }
90
91 const never = (envelope: any) =>
92 Effect.suspend(() => {
93 state.envelopes.unsafeOffer(envelope)
94 return Effect.never
95 }).pipe(Effect.onInterrupt(() => {
96 state.interrupts.unsafeOffer(envelope)
97 return Effect.void
98 }))
99 return {
100 GetUser: (envelope) =>
101 Effect.sync(() => {

Callers 1

TestEntity.tsFile · 0.85

Calls 2

pipeMethod · 0.65
unsafeOfferMethod · 0.65

Tested by

no test coverage detected