method RedisStreamsBroker.prototype.publishWithHeaders
RedisStreamsBroker.prototype.publishWithHeaders<T>(
topic: string,
message: T,
headers: Readonly<Record<string, string>>
): Promise<void>

Publishes a message with framework-owned transport headers. @internal

Type Parameters

Parameters

topic: string
message: T
headers: Readonly<Record<string, string>>

Return Type

Promise<void>

Usage

import { RedisStreamsBroker } from "messaging-plugin/src/index.ts";