Backend calclutaion could take a long time until json is returned.
So we want to return a space every minute, so connection does not die.
Here are two ways how it was done:
ControllerOld.scala+ResponseStreamHandler.scalais without usingstreamsControllerNew.scalais usingstreams