@suissa/universal-queues
Version:
Factory universal para mensageria (RabbitMQ, Kafka, SQS) para sistemas distribuĂdos.
8 lines • 310 B
TypeScript
export type Envelope = {
headers: Record<string, any>;
eventId: string;
hash: string;
origin: string;
};
export declare function enrichHeaders(exchangeOrTopic: string, routingKeyOrSubject: string, message: object, headers?: Record<string, any>): Envelope;
//# sourceMappingURL=envelope.d.ts.map