forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

getPodcastJobById.ts7 lines, 363 bytesHistoryRawDownload
1import { client } from "../client";
2import type { PodcastJobStatus } from "../client";
3
4/** One job's current state — the service's own snapshot. This is the poll door. */
5export function getPodcastJobById(id: string, signal?: AbortSignal): Promise<PodcastJobStatus> {
6 return client<PodcastJobStatus>(`/podcast/jobs/${encodeURIComponent(id)}`, { signal });
7}