@lppedd/message-bus - v0.2.0
    Preparing search index...

    Interface Topic<T>

    An identifier used to categorize messages in the message bus.

    interface Topic<T = unknown> {
        broadcastDirection: BroadcastDirection;
        displayName: string;
        (priority?: number): ParameterDecorator;
    }

    Type Parameters

    • T = unknown
    • Parameters

      • Optionalpriority: number

      Returns ParameterDecorator

    Index

    Properties

    broadcastDirection: BroadcastDirection

    The broadcasting direction for the topic.

    displayName: string

    A human-readable name for the topic, useful for debugging and logging.