highs-js API reference
    Preparing search index...

    Interface CallbackEventBase<T>

    Values common to every synchronous callback event.

    message, data, and nested typed arrays are JavaScript-owned snapshots: they remain valid after the handler returns and may be posted from a Web Worker. In contrast, control methods such as interrupt() and setSolution() modify the active native callback and expire immediately when the handler returns.

    interface CallbackEventBase<T extends CallbackType = CallbackType> {
        data: CallbackData;
        message: string;
        type: T;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Detached snapshot of fields available for this callback channel.

    message: string

    Native log/progress text. Do not assume it is non-empty or machine-parseable.

    type: T

    Callback channel that triggered the event.