# `ReductionBounds.RpcSource`
[🔗](https://github.com/zacky1972/reduction_bounds/blob/v0.1.0/lib/reduction_bounds/rpc_source.ex#L1)

Reifies a restricted, helper-contracted RPC client from BEAM debug information.

The four arguments are server PID, correlation reference, payload and timeout.
Accepted Core constructs a `{:request, reference, payload}` tuple, sends it
once with `:erlang.send/2`, branches on a declared reply helper, decodes the
reply through a declared helper, and returns `:timeout` on the timeout arm.
Reply and timeout clauses can be reordered; guards must be literal true.

This is finite normal-execution correspondence under explicit primitive and
helper contracts. It is not native receive analysis. Helpers' matching,
scanning, delivery and totality remain obligations. Monitored sessions,
retries, native receive, dynamic calls, exceptions and unsupported syntax
report the target and structural source path. No source termination or
compiler/runtime receive optimization is inferred. Current cost profiles use
unary integer server contracts, so the request payload must satisfy that
handler's integer input domain.

# `infer`

```elixir
@spec infer(ReductionBounds.target(), map(), keyword()) ::
  {:ok, map()} | {:error, term()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
