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

Function mapHandler

packages/vue/src/lib.ts:71–74  ·  view source on GitHub ↗
(self: any, map: any)

Source from the content-addressed store, hash-verified

69 map: (handler: (i: I) => Effect.Effect<A, E, R>) => (i: I) => Effect.Effect<A2, E2, R2>
70 ): RequestHandlerWithInput<I, A2, E2, R2, Request, Name>
71} = (self: any, map: any): any => ({
72 ...self,
73 handler: (i: any) => map(self.handler as (i: any) => Effect.Effect<any, any, any>)(i)
74})
75
76export function deepToRaw<T>(sourceObj: T): T {
77 const objectIterator = (input: any): any => {

Callers

nothing calls this directly

Calls 1

mapFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…