3 ms·
I believe that you could write "truly synchronous-style code over an event based system" with Scala's Futures [1]. Simply have each of those methods you wish t
by th0br0 13y ago
I believe that you could write "truly synchronous-style code over an event based system" with Scala's Futures [1].
Simply have each of those methods you wish to call return a future...
[1] https://github.com/scala/scala/blob/v2.10.2/src/library/scala/concurrent/Future.scala#L32 https://github.com/scala/scala/blob/v2.10.2/src/library/scal...