Merge pull request #26155 from akka/wip-receiveSignal-patriknw

don't show receiveSignal from ExtensibleBehavior in Receive
This commit is contained in:
Patrik Nordwall 2019-01-11 15:58:29 +01:00 committed by GitHub
commit eaca6de25f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ import akka.actor.typed.scaladsl.{ ActorContext ⇒ SAC }
*/
@ApiMayChange
@DoNotInherit
sealed abstract class Behavior[T] { behavior
abstract class Behavior[T] { behavior
/**
* Narrow the type of this Behavior, which is always a safe operation. This
* method is necessary to implement the contravariant nature of Behavior

View file

@ -253,7 +253,7 @@ object Behaviors {
* signal reception behavior. It's returned by for example [[Behaviors.receiveMessage]].
*/
@DoNotInherit
trait Receive[T] extends ExtensibleBehavior[T] {
trait Receive[T] extends Behavior[T] {
def receiveSignal(onSignal: PartialFunction[(ActorContext[T], Signal), Behavior[T]]): Behavior[T]
}