Skip to main content

ExtractionDispatcher

@forge/monorepo


@forge/monorepo / backend/src / ExtractionDispatcher

Interface: ExtractionDispatcher

Defined in: backend/src/documents/index.ts:227

The queue's producing side.

Separate from JobDispatcher rather than a method added to it: the run path depends on that interface, and widening it would make every existing implementation — including test doubles — incomplete for a job type they have nothing to do with.

Methods

enqueueExtraction()

enqueueExtraction(job): Promise<void>

Defined in: backend/src/documents/index.ts:228

Parameters

job

ExtractionJob

Returns

Promise<void>