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;이 페이지가 도움이 되었나요?
피드백 감사합니다. 이 문서를 계속 개선하겠습니다.