(this: RpcGroup<any>, ...tags: Array<string>)
| 277 | }) |
| 278 | }, |
| 279 | omit(this: RpcGroup<any>, ...tags: Array<string>) { |
| 280 | const requests = new Map(this.requests) |
| 281 | for (const tag of tags) { |
| 282 | requests.delete(tag) |
| 283 | } |
| 284 | return makeProto({ |
| 285 | requests, |
| 286 | annotations: this.annotations |
| 287 | }) |
| 288 | }, |
| 289 | middleware(this: RpcGroup<any>, middleware: RpcMiddleware.AnyService) { |
| 290 | const requests = new Map<string, any>() |
| 291 | for (const [tag, rpc] of this.requests) { |
nothing calls this directly
no test coverage detected