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

Function send

repos/effect/packages/effect/src/unstable/rpc/RpcClient.ts:1123–1133  ·  view source on GitHub ↗
(clientId, request)

Source from the content-addressed store, hash-verified

1121 })
1122 if (
1123 options?.retryTransientErrors && hasError &&
1124 error.success.reason._tag === "SocketOpenError"
1125 ) {
1126 return (options.onTransientError?.(rpcError) ?? Effect.void).pipe(
1127 Effect.ignoreCause({
1128 log: true,
1129 message: "RpcClient onTransientError hook failed"
1130 })
1131 )
1132 }
1133 return broadcastError(rpcError)
1134 }),
1135 Effect.retryOrElse(
1136 options?.retryPolicy ?? defaultRetryPolicy,

Callers 2

getRpcClientMiddlewareFunction · 0.70
onFromClientFunction · 0.70

Calls 6

writeFunction · 0.70
setMethod · 0.65
pipeMethod · 0.65
getMethod · 0.65
openUnsafeMethod · 0.65
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…