MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / drainCaptchaStates

Function drainCaptchaStates

pmcaptcha/pmcaptcha.ts:708–713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

706
707function getActiveLifecycle(): GenerationContext | null {
708 if (runtimeLifecycle && !runtimeLifecycle.signal.aborted && runtimeGeneration === getCurrentGeneration()) {
709 return runtimeLifecycle;
710 }
711
712 const current = tryGetCurrentGenerationContext();
713 if (!current || current.signal.aborted) return null;
714 runtimeLifecycle = current;
715 runtimeGeneration = current.generation;
716 return current;

Callers 2

setupMethod · 0.85
cleanupMethod · 0.85

Calls 2

clearCaptchaTimerFunction · 0.85
clearMethod · 0.80

Tested by

no test coverage detected