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

Function decodeDefect

repos/effect/packages/effect/src/SchemaTransformation.ts:1070–1070  ·  view source on GitHub ↗
(input: Json)

Source from the content-addressed store, hash-verified

1068 */
1069export const durationFromMillis: Transformation<Duration.Duration, number> = transform({
1070 decode: (i) => Duration.millis(i),
1071 encode: (a) => Duration.toMillis(a)
1072})
1073

Callers 2

decodeJsonErrorFunction · 0.85
RpcClient.tsFile · 0.85

Calls 2

isJsonErrorFunction · 0.85
decodeJsonErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…