@adapt-arch/utiliti-es
    Preparing search index...

    Class PubSubHub

    A PubSub implementation.

    Implements

    Index

    Constructors

    Methods

    • Subscribe to a topic.

      Parameters

      • topic: string

        The topic to subscribe to.

      • handler: MessageHandler

        The handler to call when a message is published.

      Returns null | string

      The id of the handler subscription if the subscription is successful.