OptionalcacheKeyExecutor: CacheKeyExecutorCancel everything — in-flight and pending.
Schedule a solve. Returns a promise that:
RhinoComputeError on failure.code: ErrorCodes.SUPERSEDED when the call was canceled because
newer values arrived (latest-wins mode).code: ErrorCodes.ABORTED when the call was canceled via
caller-supplied signal or cancelAll().Caller-supplied signal cancels just this call (rejects with ABORTED).
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