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

Function getRedacted

packages/effect/src/Redactable.ts:159–161  ·  view source on GitHub ↗
(redactable: Redactable)

Source from the content-addressed store, hash-verified

157 * @since 4.0.0
158 */
159export function getRedacted(redactable: Redactable): unknown {
160 return redactable[symbolRedactable]((globalThis as any)[currentFiberTypeId]?.context ?? emptyContext)
161}
162
163/** @internal */
164export const currentFiberTypeId = "~effect/Fiber/currentFiber"

Callers 2

recurFunction · 0.90
redactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected