highs-js API reference
    Preparing search index...

    Type Alias HighsCallback

    HighsCallback: (event: CallbackEvent) => undefined

    General callback function for raw registration. Prefer HighsCallbackMap with Model.run() when possible because map handlers receive channel-specific event types.

    Execution is synchronous. Promises and thenables are rejected, and no model or raw API may be called reentrantly from the handler. Use only controls on the current event. For browser applications, run HiGHS in a Worker and post detached snapshots to the UI thread.

    Type Declaration