akka/akka-core
Rewrite Future docs, they miss to show best practices and traps
Offen
#23.948 geöffnet am 09.11.2017
1 - triagedhelp wantedt:docs
Repository-Metriken
- Stars
- (13.277 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 8T 19h) (10 gemergte PRs in 30 T)
Beschreibung
Current Future docs are rather ancient and focused on showing off the Future API, and Await actually. I think we're in real need of rewriting these two pages:
- https://doc.akka.io/docs/akka/current/scala/futures.html
- first thing we show in using with actors is Await
- we barely mention pipeTo, without real complete example
- we don't mention the usual danger of mutating things from a Future with examples
- https://doc.akka.io/docs/akka/2.5/scala/general/jmm.html#jmm-shared-state