Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
import { VideoTask } from "../types.mts" | |
import { pendingTasksDirFilePath } from "../config.mts" | |
import { readTasks } from "./readTasks.mts" | |
export const getPendingTasks = async (): Promise<VideoTask[]> => { | |
const pendingTasks = await readTasks(pendingTasksDirFilePath) | |
return pendingTasks | |
} |