Search Results for

    Show / Hide Table of Contents

    Class ActionWithStateRunnable

    IRunnable which executes an Action<T> and an object representing the state.

    Inheritance
    object
    ActionWithStateRunnable
    Implements
    IRunnable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Dispatch
    Assembly: Akka.dll
    Syntax
    public sealed class ActionWithStateRunnable : IRunnable

    Constructors

    | Edit this page View Source

    ActionWithStateRunnable(Action<object>, object)

    Creates a new thread pool work item that executes a delegate along with state.

    Declaration
    public ActionWithStateRunnable(Action<object> actionWithState, object state)
    Parameters
    Type Name Description
    Action<object> actionWithState

    The delegate to execute.

    object state

    The state to execute with this delegate.

    Methods

    | Edit this page View Source

    Run()

    Executes the task.

    Declaration
    public void Run()

    Implements

    IRunnable

    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