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

Method publish

packages/microservices/server/server-rmq.ts:336–342  ·  view source on GitHub ↗
(data: T)

Source from the content-addressed store, hash-verified

334 );
335
336 const publish = <T>(data: T) =>
337 this.sendMessage(
338 data,
339 properties.replyTo,
340 properties.correlationId,
341 rmqContext,
342 );
343
344 response$ && this.send(response$, publish);
345 },

Callers 2

getPublisherMethod · 0.45
getPublisherMethod · 0.45

Calls 1

sendMessageMethod · 0.95

Tested by

no test coverage detected