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.
General callback function for raw registration. Prefer
HighsCallbackMapwithModel.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.