CurrentRpcCallElement
Coroutine-context element describing the RPC call currently being handled by a ksrpc dispatcher. Installed at the single chokepoint where the user's handler body is invoked (RpcMethod.call) so that the handler can introspect its own call identity (for correlating progress notifications, streaming side-channels, etc.) via currentRpcCall.
Because the element is (re)installed at each handler invocation, nested outbound calls naturally see a fresh element installed at the destination's RpcMethod.call — no caller-side stripping is required.
Types
Key for CurrentRpcCallElement in a CoroutineContext.
Properties
The RpcMethod being handled. Handlers can read its RpcMethod.endpoint, RpcMethod.metadata, etc. Not nullable — the element is only installed when a concrete method is being dispatched.