Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    ActorRefImplicitSenderExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public static class ActorRefImplicitSenderExtensions

    Methods

    | Edit this page View Source

    Forward(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

    | Edit this page View Source

    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.

    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET