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

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

Merged
kaosat-dev merged 23 commits intomasterfrom
background-processing
Jan 30, 2018
Merged

feat(solids): move processing to 'background'#28
kaosat-dev merged 23 commits intomasterfrom
background-processing

Conversation

@kaosat-dev
Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

Fix issue with paremeters getting reset when generating new solids Fix drop down parameters issue Move processing to background

1 participant