INNER CODE UNIT · TypeScript

stopTimer

remotion-dev/remotion · .pi/extensions/vercel-deployment/index.ts:276

	const stopTimer = () => {
		if (timer) {
			clearInterval(timer);
			timer = undefined;
		}
	};

	const requestRefresh = (ctx: ExtensionContext) => {
		if (ctx.mode !== 'tui' || activeContext !== ctx) {
			return;
		}
		if (refreshRunning) {
			refreshQueued = true;
			return;
		}

		const expectedGeneration = generation;
		const refresh = fetchVercelDeployment({pi, cwd: ctx.cwd})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…