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

Function instanceBase

packages/effect/src/ui/MessageLog.ts:1808–1814  ·  view source on GitHub ↗
(entry: InstanceBase)

Source from the content-addressed store, hash-verified

1806 entry.boundary === undefined ? undefined : { boundary: entry.boundary }
1807
1808const instanceBase = (entry: InstanceBase) => ({
1809 ...base(entry),
1810 path: entry.path,
1811 instance: entry.instance,
1812 component: entry.component.definition.name,
1813 ...(entry.excluded === true ? { excluded: true } : undefined)
1814})
1815
1816// JSON has no `-0`, and `structural` has the placeholder for a number that isn't finite.
1817const encodeSubscription = (

Callers 2

runFunction · 0.85
encodeFunction · 0.85

Calls 1

baseFunction · 0.70

Tested by

no test coverage detected