Hi,

Beginner question on Akka-http 2.
I have a GET route that will expose a value that I need to get from a model.
Inside that model, I have Slick returning a Future.

What is the "Akka-native" way to do this, i.e.  Slick giving Future in the 
model  -> return to router/controller  -> expose as Json?

And also, do we actually need a Future in this case? Won't a 
standard/blocking return be appropriate as front-end is waiting for 
endpoint return anyways (and btw., waiting with a Promise of its own = in 
Angular)?

Thanks!
Dennis


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to