Class WithListeners
This class represents a ListenerMessage instructing an IActorRef to perform a supplied Action<T> for all of its listeners.
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public sealed class WithListeners : ListenerMessage
Constructors
| Improve this Doc View SourceWithListeners(Action<IActorRef>)
Initializes a new instance of the WithListeners class.
Declaration
public WithListeners(Action<IActorRef> listenerFunction)
Parameters
Type | Name | Description |
---|---|---|
Action<IActorRef> | listenerFunction | The action to perform for all of an actor's listeners. |
Properties
| Improve this Doc View SourceListenerFunction
The action to perform for all of an actor's listeners.
Declaration
public Action<IActorRef> ListenerFunction { get; }
Property Value
Type | Description |
---|---|
Action<IActorRef> |