BackgroundWorker.update_result

BackgroundWorker.update_result(result, delay=1)[source]

Update the result of the worker.

This will update the result of the worker, and trigger a solution expiration of the Grasshopper component.

Parameters:
resultobject

Result of the worker.

delayint, optional

Delay (in milliseconds) before updating the component, by default 1.