Class ActorTaskScheduler
TBD
Inherited Members
Namespace: Akka.Dispatch
Assembly: Akka.dll
Syntax
public class ActorTaskScheduler : TaskScheduler
Properties
| Edit this page View SourceCurrentMessage
TBD
Declaration
public object CurrentMessage { get; }
Property Value
Type | Description |
---|---|
object |
MaximumConcurrencyLevel
TBD
Declaration
public override int MaximumConcurrencyLevel { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Edit this page View SourceGetScheduledTasks()
TBD
Declaration
protected override IEnumerable<Task> GetScheduledTasks()
Returns
Type | Description |
---|---|
IEnumerable<Task> | TBD |
Overrides
| Edit this page View SourceOnAfterTaskCompleted()
Called in completed scheduled task continuation
Declaration
protected virtual void OnAfterTaskCompleted()
OnBeforeTaskStarted()
Called when async task is scheduled, before Task.StartNew call
Declaration
protected virtual void OnBeforeTaskStarted()
QueueTask(Task)
TBD
Declaration
protected override void QueueTask(Task task)
Parameters
Type | Name | Description |
---|---|---|
Task | task | TBD |
Overrides
| Edit this page View SourceRunTask(Action)
TBD
Declaration
public static void RunTask(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | TBD |
RunTask(Func<Task>)
TBD
Declaration
public static void RunTask(Func<Task> asyncAction)
Parameters
Type | Name | Description |
---|---|---|
Func<Task> | asyncAction | TBD |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown if this method is called outside an actor context. |
TryExecuteTaskInline(Task, bool)
TBD
Declaration
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
Parameters
Type | Name | Description |
---|---|---|
Task | task | TBD |
bool | taskWasPreviouslyQueued | TBD |
Returns
Type | Description |
---|---|
bool | TBD |