@mudssky/jsutils
    Preparing search index...

    Interface PollingController<T>

    轮询控制器接口

    interface PollingController<T> {
        start: () => void;
        status: () => PollingStatus<T>;
        stop: () => void;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    start: () => void

    启动轮询

    status: () => PollingStatus<T>

    获取轮询状态

    stop: () => void

    停止轮询