decord/source/modules/conversations/useConversationBackoffRef.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

27 lines
844 B
TypeScript

// Module ID: 7906
// Function ID: 7907
// Name: useConversationBackoffRef
// Dependencies: [19, 7598, 559, 2]
// Exports: useConversationBackoffRef
// Module 7906 (useConversationBackoffRef)
import closure_2 from "noop" /* 19 */;
import CONVERSATION_COLORS from "CONVERSATION_COLORS" /* 7598 */;
({ FETCH_BACKOFF_MAX_MS: c3, FETCH_BACKOFF_MIN_MS: c4 } = CONVERSATION_COLORS);
const result = require("set").fileFinishedImporting("modules/conversations/useConversationBackoffRef.tsx");
export const useConversationBackoffRef = function useConversationBackoffRef(items) {
if (items === undefined) {
items = [];
}
let ref;
ref = React.useRef(new ref(559)(closure_4, closure_3));
const effect = React.useEffect(() => {
current = current.current;
return () => {
current.succeed();
};
}, items);
return ref;
};