@dusrel/image API
    Preparing search index...

    Interface Processor

    A framework-free processing store: the state machine the Vue composable (and any other binding) sits on. Holds UI state only — all processing stays in @dusrel/image. The process function is injectable, which is how the core is unit-tested in Node.

    interface Processor {
        abort(): void;
        getState(): ProcessorState;
        process(
            input: ImageInput,
            options?: ImageOptions,
        ): Promise<ImageResult | undefined>;
        reset(): void;
        subscribe(listener: () => void): () => void;
    }
    Index
    • Aborts the in-flight run (state returns to idle).

      Returns void

    • Aborts and clears result/error back to the initial state.

      Returns void

    • Parameters

      • listener: () => void

      Returns () => void