orphe-core-insole - v0.4.0
    Preparing search index...

    Interface FifoRecorderOptions

    FifoRecorder の生成オプション。

    interface FifoRecorderOptions {
        drainTimeoutMs?: number;
        restoreMode?: number | null;
        startupDelayMs?: number;
        stopOnLoss?: boolean;
        timing?: Partial<FifoTiming>;
        wait?: (ms: number) => Promise<void>;
    }
    Index
    drainTimeoutMs?: number

    stop() 後の回収フェーズ(catch-up + drain)の idle 予算。既定 3000ms、0 で無効

    restoreMode?: number | null

    stop() 後に書き戻す読み取りモード。既定は profile.streaming_mode ?? 4。 0 も有効値として書く。null で復帰 write 自体を送らない(FIFO モードのまま)。

    startupDelayMs?: number

    モニタ開始後にバッファへ蓄積を待つ時間。既定 1000ms

    stopOnLoss?: boolean

    回復不能な欠損が発生した時点で収録を自動停止する。既定 false

    timing?: Partial<FifoTiming>

    タイミングの上書き(テスト・チューニング用)

    wait?: (ms: number) => Promise<void>

    テスト用注入点: 待機の実装。既定 setTimeout