Search Results for

    Show / Hide Table of Contents

    Class ActorTaskScheduler

    TBD

    Inheritance
    object
    TaskScheduler
    ActorTaskScheduler
    Inherited Members
    TaskScheduler.FromCurrentSynchronizationContext()
    TaskScheduler.TryDequeue(Task)
    TaskScheduler.TryExecuteTask(Task)
    TaskScheduler.Current
    TaskScheduler.Default
    TaskScheduler.Id
    TaskScheduler.UnobservedTaskException
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Dispatch
    Assembly: Akka.dll
    Syntax
    public class ActorTaskScheduler : TaskScheduler

    Properties

    | Edit this page View Source

    CurrentMessage

    TBD

    Declaration
    public object CurrentMessage { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    MaximumConcurrencyLevel

    TBD

    Declaration
    public override int MaximumConcurrencyLevel { get; }
    Property Value
    Type Description
    int
    Overrides
    TaskScheduler.MaximumConcurrencyLevel

    Methods

    | Edit this page View Source

    GetScheduledTasks()

    TBD

    Declaration
    protected override IEnumerable<Task> GetScheduledTasks()
    Returns
    Type Description
    IEnumerable<Task>

    TBD

    Overrides
    TaskScheduler.GetScheduledTasks()
    | Edit this page View Source

    OnAfterTaskCompleted()

    Called in completed scheduled task continuation

    Declaration
    protected virtual void OnAfterTaskCompleted()
    | Edit this page View Source

    OnBeforeTaskStarted()

    Called when async task is scheduled, before Task.StartNew call

    Declaration
    protected virtual void OnBeforeTaskStarted()
    | Edit this page View Source

    QueueTask(Task)

    TBD

    Declaration
    protected override void QueueTask(Task task)
    Parameters
    Type Name Description
    Task task

    TBD

    Overrides
    TaskScheduler.QueueTask(Task)
    | Edit this page View Source

    RunTask(Action)

    TBD

    Declaration
    public static void RunTask(Action action)
    Parameters
    Type Name Description
    Action action

    TBD

    | Edit this page View Source

    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.

    | Edit this page View Source

    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

    Overrides
    TaskScheduler.TryExecuteTaskInline(Task, bool)

    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