MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / neverSettle

Function neverSettle

src/services/utils/http.ts:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126// 已作废的请求永不 settle:避免旧数据覆盖新数据,也避免在调用方触发无意义的错误处理与空态闪烁。
127function neverSettle<T>(): Promise<T> {
128 return new Promise<T>(() => {})
129}
130
131/** 绑定当前 epoch 的 GET:被 abortAnalyticsRequests() 取消时静默作废。 */
132export function analyticsGet<T>(path: string): Promise<T> {

Callers 2

analyticsGetFunction · 0.85
analyticsPostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected