How to provide a wait image through StreamResource before file is being used by vaadin

Wait for image to download before StreamResource used it
image.png

See my answer in your other question