For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/logs/functions/withProgressPaused.md.
  • 简体中文
  • Function: withProgressPaused()

    function withProgressPaused<T>(fn: () => T): T;

    Defined in: logs/terminal-progress.ts:92

    包裹一次会写终端的操作,避免与进度条抢行

    Type Parameters

    Type Parameter
    T

    Parameters

    ParameterType
    fn() => T

    Returns

    T