weasel API - v0.8.0
    Preparing search index...

    Interface UiOngoingControl

    Handle returned by Dispatcher.beginUiOngoing() for driving an ongoing invoker from a UI control (color picker, slider).

    • update(params) rebuilds an InvocationCtx with the new params and calls the handle's onMove. Safe to call many times.
    • end(reason) calls onEnd(ctx, reason) once and removes the handle from the in-flight map. Idempotent — further calls are no-ops.
    interface UiOngoingControl {
        gestureId: string;
        end(reason: "commit" | "cancel"): void;
        update(params?: Record<string, unknown>): void;
    }
    Index

    Properties

    Methods

    Properties

    gestureId: string

    Methods