Cancel everything — in-flight and pending.
Schedule a solve. Returns a promise that:
RhinoComputeError on failure.code: ErrorCodes.UNKNOWN_ERROR and message: 'Superseded'
when the call was canceled because newer values arrived (latest-wins mode).Caller-supplied signal cancels just this call (rejects with abort error).
Optionaloptions: { signal?: AbortSignal }
Robust scheduler for Grasshopper solves.
Sits between your application code and the underlying compute call, adding:
Multiple schedulers can share a single GrasshopperClient — typically one per UI surface (e.g. one for slider scrubs, one for long-running submits).
Example