Class ActionWithStateRunnable
Implements
Inherited Members
Namespace: Akka.Dispatch
Assembly: Akka.dll
Syntax
public sealed class ActionWithStateRunnable : IRunnableConstructors
| Edit this page View SourceActionWithStateRunnable(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 SourceRun()
Executes the task.
Declaration
public void Run() Edit this page
Edit this page