I'm trying to display my own custom notification layout. In order to doing that, I'm using a CustomNotificationFactory as suggested in your docs.
However, I have some asynchronous request which I want to make, to "ask" my backend for some details. Is there a way to accomplish that? The createNotification method is expected to return a Notification, and I can do that, only after my asynchronous request finished.