Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

feat(solids): move processing to 'background' #28

Merged
merged 23 commits into from
Jan 30, 2018

Conversation

kaosat-dev
Copy link
Contributor

@kaosat-dev kaosat-dev commented Jan 30, 2018

This moves the heavy processing outside the UI thread, allowing non blocking processing, timeouts etc without crashing the app

geometry in a background worker
* added sideeffect
* modified reducers & actions
…processing

* fleshed out setDesignSolids , setting param values etc as well
* modified actions sending data to workers
* fixed issue with 'busy' state
* lots of cleanups
extracted 'select'/choice values
* also changed output from worker from params to paramsValue for clarity
* data types of params are now enforced, ensuring correct dropdown behaviour
* moved for now to the same controls extraction for instantUpdate
* added some hack-ish error handling
* added ability to drop params with no definitions (usefull if param
definitions change: ie get added) instead of throwing
* renamed enforceParamDefinitions to applyParameterDefinitions
* renamed getparamValues to getParameterValues
* now takes in path to worker instead of worker instance
* experimenting with worker termination/recreation
new version of createParamControls
* this also solves issues with choice/select/dropdowns
on each message (to avoid long running/blocking workers)
@kaosat-dev kaosat-dev merged commit a0e2fa0 into master Jan 30, 2018
@kaosat-dev kaosat-dev deleted the background-processing branch February 7, 2018 08:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant