frellan
02/09/2019, 4:05 PMobject
that does stuff and writes to a status object that I can then read to know the state of the job (like how many items are processed etc). This is obviously crap because I currently block the entire server. I now want to redo this the right way. I use launch
since the job doesnt return anything, it just does stuff. I know I can ask that job isActive()
and stuff like that but how can I ask access that jobs memory, like shared memory? I just want to ask how many items it has processed etc so I can show that in my frontend.zachtib
02/09/2019, 10:40 PMfor
loop (until the channel is closed)
for (y in channel) println(y)
println("Done!")yschimke
02/10/2019, 7:14 AMfrellan
02/10/2019, 3:59 PM