MCPcopy
hub / github.com/nestjs/nest / cancel

Function cancel

packages/microservices/test/server/server-grpc.spec.ts:486–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484 it(`should close the result observable when receiving an 'cancelled' event from the client`, async () => {
485 const et = new EventTarget();
486 const cancel = () => et.dispatchEvent(new Event('cancelled'));
487
488 const written: any[] = [];
489 const call = {

Callers 1

Calls 1

dispatchEventMethod · 0.45

Tested by

no test coverage detected