Search Results for

    Show / Hide Table of Contents

    Interface ITellScheduler

    This interface defines a scheduler that is able to send messages on a set schedule.

    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public interface ITellScheduler

    Methods

    | Edit this page View Source

    ScheduleTellOnce(TimeSpan, ICanTell, object, IActorRef)

    Schedules a message to be sent once after a specified period of time.

    Declaration
    void ScheduleTellOnce(TimeSpan delay, ICanTell receiver, object message, IActorRef sender)
    Parameters
    Type Name Description
    TimeSpan delay

    The time period that has to pass before the message is sent.

    ICanTell receiver

    The actor that receives the message.

    object message

    The message that is being sent.

    IActorRef sender

    The actor that sent the message.

    | Edit this page View Source

    ScheduleTellOnce(TimeSpan, ICanTell, object, IActorRef, ICancelable)

    Schedules a message to be sent once after a specified period of time.

    Declaration
    void ScheduleTellOnce(TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable)
    Parameters
    Type Name Description
    TimeSpan delay

    The time period that has to pass before the message is sent.

    ICanTell receiver

    The actor that receives the message.

    object message

    The message that is being sent.

    IActorRef sender

    The actor that sent the message.

    ICancelable cancelable

    A cancelable used to cancel sending the message. Once the message has been sent, it cannot be canceled.

    | Edit this page View Source

    ScheduleTellRepeatedly(TimeSpan, TimeSpan, ICanTell, object, IActorRef)

    Schedules a message to be sent repeatedly after an initial delay.

    Declaration
    void ScheduleTellRepeatedly(TimeSpan initialDelay, TimeSpan interval, ICanTell receiver, object message, IActorRef sender)
    Parameters
    Type Name Description
    TimeSpan initialDelay

    The time period that has to pass before the first message is sent.

    TimeSpan interval

    The time period that has to pass between sending of the message.

    ICanTell receiver

    The actor that receives the message.

    object message

    The message that is being sent.

    IActorRef sender

    The actor that sent the message.

    | Edit this page View Source

    ScheduleTellRepeatedly(TimeSpan, TimeSpan, ICanTell, object, IActorRef, ICancelable)

    Schedules a message to be sent repeatedly after an initial delay.

    Declaration
    void ScheduleTellRepeatedly(TimeSpan initialDelay, TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable)
    Parameters
    Type Name Description
    TimeSpan initialDelay

    The time period that has to pass before the first message is sent.

    TimeSpan interval

    The time period that has to pass between sending of the message.

    ICanTell receiver

    The actor that receives the message.

    object message

    The message that is being sent.

    IActorRef sender

    The actor that sent the message.

    ICancelable cancelable

    An cancelable used to cancel sending the message. Once the message has been sent, it cannot be canceled.

    Extension Methods

    SchedulerExtensions.ScheduleTellOnce(ITellScheduler, int, ICanTell, object, IActorRef, ICancelable)
    SchedulerExtensions.ScheduleTellRepeatedly(ITellScheduler, int, int, ICanTell, object, IActorRef, ICancelable)
    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