aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scala/async/internal/FutureSystem.scala
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/2.10.x' into ↵Jason Zaugg2014-12-181-0/+15
|\ | | | | | | | | | | | | | | | | merge/2.10.x-to-master-20141219 Conflicts: src/main/scala/scala/async/internal/AsyncTransform.scala src/main/scala/scala/async/internal/ExprBuilder.scala src/test/scala/scala/async/TreeInterrogation.scala
| * Make `f(await(completedFuture))` execute `f` synchronouslyJason Zaugg2014-12-161-0/+15
| | | | | | | | | | | | A worthy optimization, suggested by @danarmak. Closes #73
* | cleans up FutureSystemEugene Burmako2014-02-151-12/+9
|/
* Update copyright years.Jason Zaugg2014-01-141-1/+1
| | | | 2013 must have been unlucky.
* Abstract over use of scala.util.TryJason Zaugg2013-11-131-2/+27
| | | | | Custom implementation of the async macro may choose to use a different data type to represent `Throwable | A`.
* Add a hook for post-ANF transformationJason Zaugg2013-11-131-0/+3
| | | | For use by custom implementations of the async macro.
* Minimize the public APIJason Zaugg2013-11-071-7/+0
| | | | | | | | | | - Remove the CPS fallback version of async. That was not intended to be part of 1.0. - Lookup the await method beside the macro, rather than requiring all calls to go to AsyncBase.await. - Create a minimal version of Async that just contains await/async and delegates to the macro implementation in internal._ - Add scaladoc.
* Collection of clean-upsPhilipp Haller2013-08-141-3/+1
| | | | | | - removed outdated comments in ANF transform - added a few comments - removed some unnecessary imports
* Move implementation details to scala.async.internal._.Jason Zaugg2013-07-071-0/+106
If we intend to keep CPS fallback around for any length of time it should probably move there too.