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

Function warn

packages/effect/src/ui/MessageLog.ts:1493–1499  ·  view source on GitHub ↗
(id: string, error: string)

Source from the content-addressed store, hash-verified

1491 }
1492 }
1493 const warn = (id: string, error: string) => {
1494 if (warned.has(id)) return
1495 warned.add(id)
1496 options?.onWarning?.(
1497 `MessageLog: ${id} failed to encode, so it's sent as a placeholder: ${error}`
1498 )
1499 }
1500 const encodeQueries = (
1501 component: Component.Mountable.Any,
1502 results: Component.Results | undefined

Callers 1

encodeWithFunction · 0.70

Calls 2

hasMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected