Where in my code do i implement this loading message ?

Code:
uiManager.showNotification(-1, "wait", "Loading...", -1.0);