Search Results for

    Show / Hide Table of Contents

    Interface IPollHandler

    Namespace: Glitch9.IO
    Assembly: Glitch9.IO.dll
    Syntax
    public interface IPollHandler

    Properties

    | Edit this page View Source

    Interval

    Declaration
    TimeSpan Interval { get; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    IsEmpty

    Declaration
    bool IsEmpty { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Timeout

    Declaration
    TimeSpan Timeout { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    | Edit this page View Source

    OnTick(IPollingJob, TimeSpan)

    Called on every polling tick with the current job and elapsed time.

    Declaration
    void OnTick(IPollingJob job, TimeSpan elapsed)
    Parameters
    Type Name Description
    IPollingJob job
    TimeSpan elapsed

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation