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

    Interface TopicOptions

    Topic behavior customizations.

    interface TopicOptions {
        broadcastDirection: "children" | "parent";
    }
    Index

    Properties

    broadcastDirection: "children" | "parent"

    The broadcasting direction for a topic.

    A message published to the topic will always be delivered first to handlers registered on the bus where publish() is called.

    Then, if the direction is:

    • children: the message is also propagated to all child buses recursively
    • parent: the message is also propagated to the immediate parent bus
    children