(this: RpcGroup<any>, context: Context.Context<any>)
| 373 | }) |
| 374 | }, |
| 375 | annotateRpcsMerge(this: RpcGroup<any>, context: Context.Context<any>) { |
| 376 | const requests = new Map<string, any>() |
| 377 | for (const [tag, rpc] of this.requests) { |
| 378 | requests.set(tag, rpc.annotateMerge(Context.merge(context, rpc.annotations))) |
| 379 | } |
| 380 | return makeProto({ |
| 381 | requests, |
| 382 | annotations: this.annotations |
| 383 | }) |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | const makeProto = <Rpcs extends Rpc.Any>(options: { |
nothing calls this directly
no test coverage detected