Using CustomNotificationFactory with asynchronous request in the createNotification method

Hi,

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.

Thanks, 
Orr

Didn't find what you were looking for?

New post

Comments

0 comments

Please sign in to leave a comment.