janm399/scalad — Issue #3: Async/future execution
Author: janm399
Created: 2011-12-29 09:05:14+00:00
State: open

Include Asynchronous execution policy that supports

val jdbc = new JDBC(ds) with Iteratees with Asynchronous
val pu = jdbc.select("<>", list[User])(...)
val po = jdbc.select("<>", list[Order])(...)

// do some work, while pu and po are executing

for (u <- pu) {
// pu now needs to be ready
}

po(0) // po now needs to be ready