emitReadyEvent() rejects in normal Confluence page view - Is this expected?

Hi All,

We are using a Forge Custom UI macro in Confluence and have configured the macro module with emitsReadyEvent: true in the manifest file and per docs calling await view.emitReadyEvent();

We added this in order to improve the PDF export performance, however, just noticed that in the in normal Confluence page view, the call consistently rejects with Uncaught (in promise) Error: Unable to emit ready event.

It’s not clear from the docs whether this rejection in normal page view is expected behavior or not. Has anyone else run into this?

2 Likes