Skip to content

useJobResult

A hook that applies a finished job's result: loads an SRT or a converted video into the player (and routes there), or sends a transcript to the dashboard. Works for a single-op job and for a batch child (whose type is the single-op type). Shared by the task tray and the Tasks tab.

Functions

useJobResult()

function useJobResult(): (job) => void;

Defined in: src/shared/jobs/useJobResult.ts:18

Returns a function that applies a finished job's result.

Returns

The apply-result function.

(job) => void