MCPcopy Create free account
hub / github.com/Effect-TS/effect / omit

Function omit

packages/effect/src/unstable/rpc/RpcGroup.ts:279–288  ·  view source on GitHub ↗
(this: RpcGroup<any>, ...tags: Array<string>)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected