(options: {
readonly requests: ReadonlyMap<string, Rpcs>
readonly annotations: Context.Context<never>
})
| 385 | } |
| 386 | |
| 387 | const makeProto = <Rpcs extends Rpc.Any>(options: { |
| 388 | readonly requests: ReadonlyMap<string, Rpcs> |
| 389 | readonly annotations: Context.Context<never> |
| 390 | }): RpcGroup<Rpcs> => |
| 391 | Object.assign(function() {}, RpcGroupProto, { |
| 392 | requests: options.requests, |
| 393 | annotations: options.annotations |
| 394 | }) as any |
| 395 | |
| 396 | /** |
| 397 | * Creates an `RpcGroup` from one or more RPC definitions. |
no test coverage detected