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

    | Edit this page View Source

    Ask(ICanTell, object, 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

    TimeSpan? timeout

    TBD

    Returns
    Type Description
    Task<object>

    TBD

    | Edit this page View Source

    Ask(ICanTell, object, 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

    TimeSpan? timeout

    TBD

    CancellationToken cancellationToken

    TBD

    Returns
    Type Description
    Task<object>

    TBD

    | Edit this page 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

    | Edit this page View Source

    Ask<T>(ICanTell, Func<IActorRef, object>, 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

    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.

    | Edit this page View Source

    Ask<T>(ICanTell, object, 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

    TimeSpan? timeout

    TBD

    Returns
    Type Description
    Task<T>

    TBD

    Type Parameters
    Name Description
    T

    TBD

    | Edit this page View Source

    Ask<T>(ICanTell, object, 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

    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.

    | Edit this page 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
    • 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