GraphSource
import type { GraphSource } from '@banou/opencv-wasm'Pull frames serially. Honor the abort signal when waiting for an external producer.
export type GraphSource = {
pull(signal: AbortSignal): GraphFrame | null | Promise<GraphFrame | null>,
close?(): void | Promise<void>,
}These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.