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

Function handler

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

Source from the content-addressed store, hash-verified

607 describe('when response is not a stream', () => {
608 it('should call callback', async () => {
609 const handler = async () => ({ test: true });
610 const fn = server.createRequestStreamMethod(handler, false);
611 const call = {
612 on: (event, callback) => {

Callers 12

createMethod · 0.50
handleMessageMethod · 0.50
handleMessageMethod · 0.50
handleMessageMethod · 0.50
handleMessageMethod · 0.50
handleEventMethod · 0.50
handleMessageMethod · 0.50
handleMessageMethod · 0.50
handleEventFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected