tity": 20 } ]} } """) |
Futures and Promises |
Scala Improvement Process (SIP)SIP-14-Futures and Promises http://en.wikipedia.org/wiki/Futures_and_promises ? async { <expression> } : In this construct, <expression> is the code to be executed asynchronously. ? await { <expression returning a Future> } : This construct is included in an async block. It suspends the execution of the enclosing async block until the argument Future is completed. async future Actor |
Reactive Systems |
http://www.reactivemanifesto.org/ 反应式编程 |
Misc |
MongoDB database, we are going to discover how the Casbah Scala toolkit https://github.com/mongodb/casbah |
|
RPEL模式下拷贝部分代码运行 scala> :paste // Entering paste mode (ctrl-D to finish) |
|
|
|