Interface ScalaActorRef

    • Method Detail

      • $bang

        void $bang​(java.lang.Object message,
                   ActorRef sender)
        Sends a one-way asynchronous message. E.g. fire-and-forget semantics.

        If invoked from within an actor then the actor reference is implicitly passed on as the implicit 'sender' argument.

        This actor 'sender' reference is then available in the receiving actor in the 'sender()' member variable, if invoked from within an Actor. If not then no sender is available.

           actor ! message

      • $bang$default$2

        ActorRef $bang$default$2​(java.lang.Object message)