edgeport - v1.0.3
    Preparing search index...

    Interface NatsJsonMessage<T>

    A message delivered to a subscribeJson iterator: the subject, optional reply, parsed value.

    interface NatsJsonMessage<T> {
        reply?: string;
        subject: string;
        value: T;
    }

    Type Parameters

    • T
    Index
    reply?: string

    The reply subject, when the publisher set one (request-reply).

    subject: string

    The subject the message was published to.

    value: T

    The payload parsed from JSON.