MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / isAutoRunScheduledState

Function isAutoRunScheduledState

background.js:3829–3836  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

3827}
3828
3829function isAutoRunScheduledState(state) {
3830 const plan = normalizeAutoRunTimerPlanFromState(state);
3831 const scheduledAt = state.scheduledAutoRunAt === null ? null : Number(state.scheduledAutoRunAt);
3832 return Boolean(state.autoRunning)
3833 && state.autoRunPhase === 'scheduled'
3834 && Number.isFinite(scheduledAt)
3835 && plan?.kind === AUTO_RUN_TIMER_KIND_SCHEDULED_START;
3836}
3837
3838function getPendingAutoRunTimerPlan(state = {}) {
3839 return normalizeAutoRunTimerPlanFromState(state);

Callers 1

Calls 1

Tested by

no test coverage detected