Class ActorRefImplicitSenderExtensions
Extension method class. Used to deliver messages to IActorRef instances via Tell(IActorRef, Object) and Forward(IActorRef, Object) and pass along information about the current sender.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public static class ActorRefImplicitSenderExtensions
Methods
| Improve this Doc View SourceForward(IActorRef, Object)
Forwards the message using the current Sender
Declaration
public static void Forward(this IActorRef receiver, object message)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | receiver | The actor that receives the forward |
Object | message | The message to forward |
Tell(IActorRef, Object)
Asynchronously tells a message to an IActorRef.
Declaration
public static void Tell(this IActorRef receiver, object message)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | receiver | The actor who will receive the message. |
Object | message | The message. |
Remarks
Will automatically resolve the current sender using the current ActorCell, if any.