* Tighten MatchError handling in fishForMessage Avoid a whole bunch of other code being accidentally handled. Also it allows for the inner 'loop' method to be @tailrec (next commit). * Guarantee match exhaustion in fishForMessage ... by introducing FishingOutcome.ContinueOutcome to the type hierarchy. * Simplify some timeout calculation in fishForMessage 'timeout' is always finite, as it's a `FiniteDuration`, and, even if it weren't, the calculation is safe for non-finite durations. * Make fishForMessage's inner loop @tailrec! Apparently @tailrec and try/catch (with a re-throw in the catch) don't mix well. * Avoid double handing of timeouts in fishForMessage If 'newTimeout' is sub-zero, just loop again which will trigger the other throw. * Make receiveOne return Option[M] rather than nullable M Avoid future users from forgetting to consider the null case, which happened in fishForMessage_internal. * Switch to pattern matching Options * Cast properly Thanks, type inferencer, for inferring Nothing there! o_O * Make fish's PartialFunction convenience explicit * Update the scaladsl fishForMessage Scaladocs * Restore MatchError catching logic & docs TIL partial functions aren't of class PartialFunction anymore, they're lambda classes. * Tweak assertFail so it can be used more * Avoid name shadowing ... on request. (I <3 name shadowing) * Fix formatting |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| akka-actor/src/main | ||
| akka-actor-testkit-typed/src | ||
| akka-actor-tests/src/test | ||
| akka-actor-typed/src/main | ||
| akka-actor-typed-tests/src/test | ||
| akka-agent/src | ||
| akka-bench-jmh | ||
| akka-camel/src | ||
| akka-cluster | ||
| akka-cluster-metrics/src | ||
| akka-cluster-sharding/src | ||
| akka-cluster-sharding-typed/src | ||
| akka-cluster-tools/src | ||
| akka-cluster-typed/src | ||
| akka-contrib | ||
| akka-distributed-data/src | ||
| akka-docs/src | ||
| akka-multi-node-testkit/src/main | ||
| akka-osgi/src | ||
| akka-persistence/src | ||
| akka-persistence-query/src | ||
| akka-persistence-shared/src/test/scala/akka/persistence | ||
| akka-persistence-tck/src | ||
| akka-persistence-typed/src | ||
| akka-protobuf/src/main/java/akka/protobuf | ||
| akka-remote/src | ||
| akka-remote-tests/src | ||
| akka-slf4j/src | ||
| akka-ssl-config/src/main/scala/com/lightbend/sslconfig/akka | ||
| akka-stream/src/main | ||
| akka-stream-testkit/src | ||
| akka-stream-tests/src/test | ||
| akka-stream-tests-tck/src/test | ||
| akka-stream-typed/src | ||
| akka-testkit/src | ||
| project | ||
| scripts | ||
| src/main/ls | ||
| .gitignore | ||
| .java-version | ||
| .travis.yml | ||
| build.sbt | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| COPYING.protobuf | ||
| LICENSE | ||
| README.md | ||
| RELEASING.md | ||
Akka 
We believe that writing correct concurrent & distributed, resilient and elastic applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction.
Akka is here to change that.
Using the Actor Model we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications. This model is a perfect match for the principles laid out in the Reactive Manifesto.
For resilience, we adopt the "Let it crash" model which the telecom industry has used with great success to build applications that self-heal and systems that never stop.
Actors also provide the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications.
Learn more at akka.io.
Reference Documentation
The reference documentation is available at doc.akka.io, for Scala and Java.
Community
You can join these groups and chats to discuss and ask Akka related questions:
- Forums: discuss.akka.io
- Chat room about using Akka:
- Issue tracker:
In addition to that, you may enjoy following:
- The news section of the page, which is updated whenever a new version is released
- The Akka Team Blog
- @akkateam on Twitter
- Questions tagged #akka on StackOverflow
- Projects built with Akka:
Contributing
Contributions are very welcome!
If you see an issue that you'd like to see fixed, the best way to make it happen is to help out by submitting a pull request implementing it.
Refer to the CONTRIBUTING.md file for more details about the workflow, and general hints on how to prepare your pull request. You can also ask for clarifications or guidance in GitHub issues directly, or in the akka/dev chat if a more real time communication would be of benefit.
A chat room is available for all questions related to developing and contributing to Akka:
License
Akka is Open Source and available under the Apache 2 License.