Braze JavaScript SDK
    Preparing search index...

    Function getDeferredInAppMessage

    • Retrieves the in-app message that was most recently deferred for display with [[deferInAppMessage]].

      Note: Retrieving the deferred in-app message here will clear it from storage.

      Returns Promise<None | InAppMessage>

      Resolves to the deferred in-app message if it exists, or returns null. Returns undefined if the SDK has not been initialized.