currentSender top-level property

ActorRef? get currentSender

Who is sending the message being told right now: the actor whose code is running, the sender given to sendAs, or null.

Implementation

ActorRef? get currentSender => Sending.sender;