Class ActorTaskScheduler
TBD
Inherited Members
Namespace: Akka.Dispatch
Assembly: Akka.dll
Syntax
public class ActorTaskScheduler : TaskScheduler
Properties
| Improve this Doc 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 |
---|---|
Int32 |
Overrides
Methods
| Improve this Doc View SourceGetScheduledTasks()
TBD
Declaration
protected override IEnumerable<Task> GetScheduledTasks()
Returns
Type | Description |
---|---|
IEnumerable<Task> | TBD |
Overrides
| Improve this Doc 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
| Improve this Doc 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, Boolean)
TBD
Declaration
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
Parameters
Type | Name | Description |
---|---|---|
Task | task | TBD |
Boolean | taskWasPreviouslyQueued | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |