changed event handler dispatcher name
This commit is contained in:
parent
dd69a4b763
commit
ac0273b5eb
2 changed files with 8 additions and 8 deletions
|
|
@ -16,9 +16,9 @@ import akka.actor._
|
|||
* @author <a href="http://jonasboner.com">Jonas Bonér</a>
|
||||
*/
|
||||
final case class MessageInvocation(val receiver: ActorRef,
|
||||
val message: Any,
|
||||
val sender: Option[ActorRef],
|
||||
val senderFuture: Option[CompletableFuture[Any]]) {
|
||||
val message: Any,
|
||||
val sender: Option[ActorRef],
|
||||
val senderFuture: Option[CompletableFuture[Any]]) {
|
||||
if (receiver eq null) throw new IllegalArgumentException("Receiver can't be null")
|
||||
|
||||
def invoke = try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue