#2396 - Removing the Props.apply(ActorContext => Actor.Receive) method as it is superceded by the ActorDSL
This commit is contained in:
parent
f6079de381
commit
20881c777d
11 changed files with 43 additions and 45 deletions
|
|
@ -74,11 +74,6 @@ object Props {
|
|||
* using the supplied thunk.
|
||||
*/
|
||||
def apply(creator: Creator[_ <: Actor]): Props = default.withCreator(creator.create)
|
||||
|
||||
/**
|
||||
* Returns a new Props whose creator will instantiate an Actor that has the behavior specified
|
||||
*/
|
||||
def apply(behavior: ActorContext ⇒ Actor.Receive): Props = apply(new Actor { def receive = behavior(context) })
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue