MCPcopy Create free account
hub / github.com/effect-app/libs / CommandResponseWithMetaData

Function CommandResponseWithMetaData

packages/effect-app/src/rpc/Invalidation.ts:75–76  ·  view source on GitHub ↗
(success: S)

Source from the content-addressed store, hash-verified

73 * the plain payload — wrapping/unwrapping is handled internally by the routing layer.
74 */
75export const CommandResponseWithMetaData = <S extends S.Top>(success: S) =>
76 S.Struct({ payload: success, metadata: CommandMetaData })
77
78/**
79 * Wraps a command's failure schema so that the wire format carries both the `error`

Callers 1

Invalidation.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…