Add note about mixing in the Stash trait

This commit is contained in:
phaller 2012-02-24 17:48:51 +01:00
parent e909407827
commit 9244e8399d

View file

@ -41,6 +41,10 @@ import akka.AkkaException
* }
* }
* </pre>
*
* Note that the `Stash` trait must be mixed into (a subclass of) the `Actor` trait before
* any trait/class that overrides the `preRestart` callback. This means it's not possible to write
* `Actor with MyActor with Stash` if `MyActor` overrides `preRestart`.
*/
trait Stash {
this: Actor