@cartridge-engine/keyboard-engine
    Preparing search index...

    Interface ProcessorInput<TComponent>

    What a caller hands to KeyboardEngine.addProcessor before the engine stamps runtime state.

    Only id and process are required. Priority is expressed through addProcessor's options (weight, or a before/after/index sugar). The engine normalizes this into a full PipelineProcessor, so stored processors always carry weight and active.

    interface ProcessorInput<TComponent> {
        active?: boolean;
        id: string;
        process(ctx: PipelineContext<TComponent>): boolean;
    }

    Type Parameters

    • TComponent
    Index
    active?: boolean

    Whether the processor runs. Defaults to true.

    id: string

    Processor id (built-in or custom); must be unique in the pipeline.