registerHandler

abstract fun registerHandler(callId: RpcCallId, job: Job)

Register a server-side handler Job under callId so that a later cancel signal from the remote side can cancel the correct handler.

The dispatcher is expected to remove the entry once the handler completes (via unregisterHandler).