Angular Solace Message Client - v20.0.0
    Preparing search index...

    Interface ObserveOptions

    Control how to observe a topic.

    interface ObserveOptions {
        subscribeTimeout?: number;
        onSubscribed(): void;
    }
    Index

    Properties

    subscribeTimeout?: number

    Specifies the maximum time (in milliseconds) to wait for the destination to be subscribed. If specified, overrides the global timeout as set via SessionProperties#readTimeoutInMsecs.

    Methods

    • A lifecycle hook that is called when subscribed to a destination.

      Use if you need to wait until the destination is actually subscribed, e.g, if implementing the request/response message exchange pattern, or for reading information about the endpoint if consuming messages via SolaceMessageClient#consume$.

      Returns void