MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / stringifyEffect

Function stringifyEffect

src/effected.ts:2914–2915  ·  view source on GitHub ↗
(effect: Effect)

Source from the content-addressed store, hash-verified

2912 typeof name === "string" ? `"${name}"` : stringifyEffectName(name);
2913
2914const stringifyEffect = (effect: Effect) =>
2915 `${stringifyEffectName(effect.name)}(${effect.payloads.map(stringify).join(", ")})`;
2916
2917/**
2918 * Stringify an object to provide better debugging experience, handling common cases that simple

Callers 4

runSyncFunction · 0.85
iterateFunction · 0.85
warnMultipleHandlingFunction · 0.85
handleEffectFunction · 0.85

Calls 2

stringifyEffectNameFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected