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

Function base

packages/effect/src/ui/MessageLog.ts:1799–1804  ·  view source on GitHub ↗
(entry: Base)

Source from the content-addressed store, hash-verified

1797}
1798
1799const base = (entry: Base) => ({
1800 seq: entry.seq,
1801 at: entry.at,
1802 session: entry.session,
1803 ...(entry.causedBy === undefined ? undefined : { causedBy: entry.causedBy })
1804})
1805const boundaryOf = (entry: { readonly boundary?: number | undefined }) =>
1806 entry.boundary === undefined ? undefined : { boundary: entry.boundary }
1807

Callers 3

encodeFunction · 0.70
instanceBaseFunction · 0.70
decoratePartFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected