To use this excecution context in Scala, you would simply use the scala
Futurecompanion object function:Future { // Some blocking or expensive code here }(Contexts.myExecutionContext)or you could just use it implicitly:
import Contexts.myExecutionContext Future { // Some blocking or expensive code here }
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.