@mudssky/jsutils
    Preparing search index...

    Interface PollingStatus<T>

    轮询状态信息接口

    interface PollingStatus<T> {
        executeCount: number;
        lastError: unknown;
        lastResult: T | undefined;
        options: PollingOptions<T>;
        retryCount: number;
        status: "running" | "stopped";
    }

    Type Parameters

    • T
    Index

    Properties

    executeCount: number

    已执行次数

    lastError: unknown

    最近一次执行错误

    lastResult: T | undefined

    最近一次执行结果

    options: PollingOptions<T>

    轮询配置选项

    retryCount: number

    重试次数

    status: "running" | "stopped"

    当前轮询状态