Search Results for

    Show / Hide Table of Contents

    Interface IInboxable

    IInboxable is an actor-like object to be listened by external objects. It can watch other actors lifecycle and contains inner actor, which could be passed as reference to other actors.

    Inherited Members
    ICanWatch.Watch(IActorRef)
    ICanWatch.WatchWith(IActorRef, object)
    ICanWatch.Unwatch(IActorRef)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public interface IInboxable : ICanWatch

    Properties

    | Edit this page View Source

    Receiver

    Get a reference to internal actor. It may be for example registered in event stream.

    Declaration
    IActorRef Receiver { get; }
    Property Value
    Type Description
    IActorRef

    Methods

    | Edit this page View Source

    Receive()

    Receive a next message from current IInboxable with default timeout. This call will return immediately, if the internal actor previously received a message, or will block until it'll receive a message.

    Declaration
    object Receive()
    Returns
    Type Description
    object

    TBD

    | Edit this page View Source

    Receive(TimeSpan)

    Receive a next message from current IInboxable. This call will return immediately, if the internal actor previously received a message, or will block for time specified by timeout until it'll receive a message.

    Declaration
    object Receive(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout

    TBD

    Returns
    Type Description
    object

    TBD

    | Edit this page View Source

    ReceiveAsync()

    TBD

    Declaration
    Task<object> ReceiveAsync()
    Returns
    Type Description
    Task<object>

    TBD

    | Edit this page View Source

    ReceiveAsync(TimeSpan)

    TBD

    Declaration
    Task<object> ReceiveAsync(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout

    TBD

    Returns
    Type Description
    Task<object>

    TBD

    | Edit this page View Source

    ReceiveWhere(Predicate<object>)

    Receive a next message satisfying specified predicate under default timeout.

    Declaration
    object ReceiveWhere(Predicate<object> predicate)
    Parameters
    Type Name Description
    Predicate<object> predicate

    TBD

    Returns
    Type Description
    object

    TBD

    | Edit this page View Source

    ReceiveWhere(Predicate<object>, TimeSpan)

    Receive a next message satisfying specified predicate under provided timeout.

    Declaration
    object ReceiveWhere(Predicate<object> predicate, TimeSpan timeout)
    Parameters
    Type Name Description
    Predicate<object> predicate

    TBD

    TimeSpan timeout

    TBD

    Returns
    Type Description
    object

    TBD

    | Edit this page View Source

    Send(IActorRef, object)

    Makes an internal actor act as a proxy of a given message, which is sent to a given target actor. It means, that all target's replies will be sent to current inbox instead.

    Declaration
    void Send(IActorRef target, object message)
    Parameters
    Type Name Description
    IActorRef target

    TBD

    object message

    TBD

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    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