Search Results for

    Show / Hide Table of Contents

    Class Futures

    Extension method class designed to create Ask support for non-ActorRef objects such as ActorSelection.

    Inheritance
    Object
    Futures
    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 Futures

    Methods

    | Improve this Doc View Source

    Ask(ICanTell, Object, Nullable<TimeSpan>)

    TBD

    Declaration
    public static Task<object> Ask(this ICanTell self, object message, TimeSpan? timeout = null)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    Nullable<TimeSpan> timeout

    TBD

    Returns
    Type Description
    Task<Object>

    TBD

    | Improve this Doc View Source

    Ask(ICanTell, Object, Nullable<TimeSpan>, CancellationToken)

    TBD

    Declaration
    public static Task<object> Ask(this ICanTell self, object message, TimeSpan? timeout, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    Nullable<TimeSpan> timeout

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<Object>

    TBD

    | Improve this Doc View Source

    Ask(ICanTell, Object, CancellationToken)

    TBD

    Declaration
    public static Task<object> Ask(this ICanTell self, object message, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<Object>

    TBD

    | Improve this Doc View Source

    Ask<T>(ICanTell, Func<IActorRef, Object>, Nullable<TimeSpan>, CancellationToken)

    TBD

    Declaration
    public static Task<T> Ask<T>(this ICanTell self, Func<IActorRef, object> messageFactory, TimeSpan? timeout, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Func<IActorRef, Object> messageFactory

    Factory method that creates a message that can encapsulate the 'Sender' IActorRef

    Nullable<TimeSpan> timeout

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<T>

    TBD

    Type Parameters
    Name Description
    T

    TBD

    Exceptions
    Type Condition
    ArgumentException

    This exception is thrown if the system can't resolve the target provider.

    | Improve this Doc View Source

    Ask<T>(ICanTell, Object, Nullable<TimeSpan>)

    TBD

    Declaration
    public static Task<T> Ask<T>(this ICanTell self, object message, TimeSpan? timeout = null)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    Nullable<TimeSpan> timeout

    TBD

    Returns
    Type Description
    Task<T>

    TBD

    Type Parameters
    Name Description
    T

    TBD

    | Improve this Doc View Source

    Ask<T>(ICanTell, Object, Nullable<TimeSpan>, CancellationToken)

    TBD

    Declaration
    public static Task<T> Ask<T>(this ICanTell self, object message, TimeSpan? timeout, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    Nullable<TimeSpan> timeout

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<T>

    TBD

    Type Parameters
    Name Description
    T

    TBD

    Exceptions
    Type Condition
    ArgumentException

    This exception is thrown if the system can't resolve the target provider.

    | Improve this Doc View Source

    Ask<T>(ICanTell, Object, CancellationToken)

    TBD

    Declaration
    public static Task<T> Ask<T>(this ICanTell self, object message, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICanTell self

    TBD

    Object message

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<T>

    TBD

    Type Parameters
    Name Description
    T

    TBD

    In This Article
    • githubImprove this Doc
    • 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