sendAs<R> function

R sendAs<R>(
  1. ActorRef? sender,
  2. R send()
)

Runs send with sender as the sender of everything it tells. Only the synchronous part of send counts.

Implementation

R sendAs<R>(ActorRef? sender, R Function() send) => Sending.as(sender, send);