Search Results for

    Show / Hide Table of Contents

    Class EventStreamExtensions

    Extension methods for the EventStream class.

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

    Methods

    | Edit this page View Source

    Subscribe<TChannel>(EventStream, IActorRef)

    Subscribes the specified subscriber.

    Declaration
    public static bool Subscribe<TChannel>(this EventStream eventStream, IActorRef subscriber)
    Parameters
    Type Name Description
    EventStream eventStream

    The event stream.

    IActorRef subscriber

    The subscriber.

    Returns
    Type Description
    bool

    true if subscription was successful, false otherwise.

    Type Parameters
    Name Description
    TChannel

    The channel.

    Exceptions
    Type Condition
    ArgumentNullException

    subscriber

    | Edit this page View Source

    Unsubscribe<TChannel>(EventStream, IActorRef)

    Unsubscribes the specified subscriber.

    Declaration
    public static bool Unsubscribe<TChannel>(this EventStream eventStream, IActorRef subscriber)
    Parameters
    Type Name Description
    EventStream eventStream

    The event stream.

    IActorRef subscriber

    The subscriber.

    Returns
    Type Description
    bool

    true if unsubscription was successful, false otherwise.

    Type Parameters
    Name Description
    TChannel

    The channel.

    Exceptions
    Type Condition
    ArgumentNullException

    subscriber

    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