This is definitely possible, just use Chunk for each element instead, that
way you can create them from a stream of strings using .map()
For the "an async request and it responds one or more times" there are a
few possible tools in Akka streams that may solve this. Take a look at
I'd like to be able to use akka-http with chunked responses. I'd like to know
if I can do the same thing in akka-http as with the playframework. The
following is from playframework documentation.
def index = Action {
val source = Source.apply(List("kiki", "foo", "bar"))
Ok.chunked(source)