SessionDrainOptions
このコンテンツはまだ日本語訳がありません。
AgentSession.drain() 的选项:timeoutMs 观察预算(缺省 30 秒;Infinity = 不限)、signal 只取消
观察者不取消共享工作、flushStore 是否顺带调用借用 store 的全局 flush、retryPersistence 是否
重试此前失败的持久化提交。
flushStore?
Section titled “flushStore?”optional flushStore?: boolean;retryPersistence?
Section titled “retryPersistence?”optional retryPersistence?: boolean;signal?
Section titled “signal?”optional signal?: any;timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number;このページは役に立ちましたか?
フィードバックありがとうございます。この記事の改善に活かします。